Un motore di ricerca WordPress per sviluppatori e autori di temi



sanitize_title_for_query ›

Da3.1.0
Deprecaton/a
sanitize_title_for_query ( $title )
Parametri:
  • (string) $title The string to be sanitized.
    Richiesto:
Ritorna:
  • (string) The sanitized string.
Definito a:
Codex:

Sanitizes a title with the 'query' context.

Used for querying the database for a value from URL.



Sorgenti

function sanitize_title_for_query( $title ) {
	return sanitize_title( $title, '', 'query' );
}