wp_unique_term_slug

wp_unique_term_slug

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('wp_unique_term_slug') is found 1 times:

  • /wp-includes/taxonomy.php line 3132
    	 * @param string $slug          Unique term slug.
    	 * @param object $term          Term object.
    	 * @param string $original_slug Slug originally passed to the function for testing.
    	 */
    	return apply_filters( 'wp_unique_term_slug', $slug, $term, $original_slug );
    }
    
    /**
     * Updates term based on arguments provided.
     *
     * The `$args` will indiscriminately override all values with the same field name.