is_enabled() ) { return; } add_action( 'rest_api_init', [ $rest_api, 'register_rest_routes' ] );