llms_esc_and_quote_str( string $str )
Escape and add quotes to a string, useful for array mapping when building queries.
Parameters Parameters
- $str
-
(string) (Required) Input string.
Return Return
(string) Escaped string wrapped in quotation marks.
Source Source
File: includes/llms.functions.core.php
*/ function llms_esc_and_quote_str( $str ) { return "'" . esc_sql( $str ) . "'";
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |