Quotes an identifier for a MySQL database, e.g. table/field names.
$identifierstringrequired
public function quote_identifier( $identifier ) {
return '`' . $this->_escape_identifier_value( $identifier ) . '`';
}
| Version | Description |
|---|---|
| 6.2.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wpdb/quote_identifier