wp_unique_term_slug Wordpress function


Description:

Will make slug unique, if it isn't already.


Syntax:


Arguments:

(string) $slug The string that will be tried for a unique slug
(object) $term The term object that the $slug will belong too


Return Type:

(string) Will return a true unique slug.


Define At:

wp-includes/taxonomy.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_unique_term_slug


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×