sanitize_title

sanitize_title( string $title, string $fallback_title = ”, string $context = ‘save’ )

Sanitizes a title, or returns a fallback title.

Specifically, HTML and PHP tags are stripped. Further actions can be added via the plugin API. If $title is empty and $fallback_title is set, the latter will be used.

Input:
[?]

Have Feedback?

Let us know how we can improve this tool.
Share Feedback