Function _wp_rml_sanitize
Sanitize to a valid slug name for a given folder name. If the passed folder name contains only unvalide characters, then it falls back to the base64 encode.
Parameters summary
string |
$name |
The name of the folder |
boolean |
$database = false |
If true the name is generated unique from the database slugs |
|
$exclude = -1 |