wp_unique_term_slug

wp_unique_term_slug

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('wp_unique_term_slug') is found 1 times:

  • /wp-includes/taxonomy.php line 3161
    3157
    3158
    3159
    3160
    3161
    3162
    3163
    3164
    3165
    3166
    3167
         * @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.