rest_route_for_term

rest_route_for_term

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('rest_route_for_term') is found 1 times:

  • /wp-includes/rest-api.php line 3249
    3245
    3246
    3247
    3248
    3249
    3250
    3251
    3252
    3253
    3254
    3255
         *
         * @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