rest_route_data

rest_route_data

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('rest_route_data') is found 1 times:

  • /wp-includes/rest-api/class-wp-rest-server.php line 1596
    1592
    1593
    1594
    1595
    1596
    1597
    1598
    1599
    1600
    1601
    1602
         *
         * @param array[] $available Route data to expose in indexes, keyed by route.
         * @param array   $routes    Internal route data as an associative array.
         */
        return apply_filters( 'rest_route_data', $available, $routes );
    }
     
    /**
     * Retrieves publicly-visible data for the route.
     *
     * @since 4.4.0