Core Function
View Source on Trac ↗ sanitize_title_for_query()
sanitize_title_for_query( mixed $title ) Sanitizes a title with the 'query' context.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $title string | The string to be sanitized. Required |
Return Value
(string)
The sanitized string.
Function Information
Since Version
3.1.0
Source File
wp-includes/formatting.php
Advertisement