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.1

apply_filters('rest_route_for_taxonomy_items') is found 1 times:

  • /wp-includes/rest-api.php line 3282
    	 *
    	 * @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