INVP::sluggify( string $name )
sluggify
Contents
Description Description
Turns the name of something into a slug that WordPress will accept when creating objects like terms. WordPress slugs are described as containing only letters, numbers, and hyphens.
Parameters Parameters
- $name
-
(Required)
Return Return
(string) An alteration of $name that WordPress will accept as a term slug
Source Source
File: includes/class-invp.php
Expand full source code Collapse full source code View on Github