wpseek.com
A WordPress-centric search engine for devs and theme authors
sanitize_title › WordPress Function
Since1.0.0
Deprecatedn/a
› sanitize_title ( $title, $fallback_title = '', $context = 'save' )
| Parameters: (3) |
|
| Returns: |
|
| Defined at: |
|
| Codex: |
Sanitizes a string into a slug, which can be used in URLs or HTML attributes.
By default, converts accent characters to ASCII characters and further limits the output to alphanumeric characters, underscore (_) and dash (-) through the {@see 'sanitize_title'} filter. If$title is empty and $fallback_title is set, the latter will be used.