register_routes(); } add_action( 'rest_api_init', 'gutenberg_register_edit_site_export_controller_endpoints' ); /** * Registers the Icons Registry REST API routes. */ function gutenberg_register_icon_controller_endpoints() { $icons_controller = new WP_REST_Icons_Controller_Gutenberg(); $icons_controller->register_routes(); } add_action( 'rest_api_init', 'gutenberg_register_icon_controller_endpoints' );