rest_api_init

rest_api_init

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

See hook in core

Displaying hooks found in version: wordpress-6.5.2

do_action('rest_api_init') is found 1 times:

  • /wp-includes/rest-api.php line 597
    		 * @since 4.4.0
    		 *
    		 * @param WP_REST_Server $wp_rest_server Server object.
    		 */
    		do_action( 'rest_api_init', $wp_rest_server );
    	}
    
    	return $wp_rest_server;
    }
    
    /**
    

See this hook used in plugins: