rest_route_for_term

rest_route_for_term

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('rest_route_for_term') is found 1 times:

  • /wp-includes/rest-api.php line 3249
    	 *
    	 * @param string  $route The route path.
    	 * @param WP_Term $term  The term object.
    	 */
    	return apply_filters( 'rest_route_for_term', $route, $term );
    }
    
    /**
     * Gets the REST API route for a taxonomy.
     *
     * @since 5.9.0