rest_index

rest_index

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('rest_index') is found 1 times:

  • /wp-includes/rest-api/class-wp-rest-server.php line 1418
    		 *
    		 * @param WP_REST_Response $response Response data.
    		 * @param WP_REST_Request  $request  Request data.
    		 */
    		return apply_filters( 'rest_index', $response, $request );
    	}
    
    	/**
    	 * Adds a link to the active theme for users who have proper permissions.
    	 *
    	 * @since 5.7.0
    

See this hook used in plugins: