sanitize_title_for_query
sanitize_title_for_query ( $title )
Parameters:- (string) title The string to be sanitized.
Returns:- (string) The sanitized string.
Defined at: - Introduced in WordPress: 3.1.0
- Deprecated in WordPress: —
Description
Sanitizes a title with the 'query' context.Used for querying the database for a value from URL.