rest_route_data

rest_route_data

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

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('rest_route_data') is found 1 times:

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