rest_route_for_taxonomy_items

rest_route_for_taxonomy_items

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('rest_route_for_taxonomy_items') is found 1 times:

  • /wp-includes/rest-api.php line 3282
    3278
    3279
    3280
    3281
    3282
    3283
    3284
    3285
    3286
    3287
    3288
         *
         * @param string      $route    The route path.
         * @param WP_Taxonomy $taxonomy The taxonomy object.
         */
        return apply_filters( 'rest_route_for_taxonomy_items', $route, $taxonomy );
    }
     
    /**
     * Gets the REST route for the currently queried object.
     *
     * @since 5.5.0