get()->getProperties(); return $this->handle_response( $admin_menu_modules ); } catch ( \Throwable $error ) { return $this->handle_response( array( 'code' => $error->getCode(), 'message' => $error->getMessage(), ) ); } } public static function get_rest_method() { return \WP_REST_Server::READABLE; } public static function get_rest_args() { return array(); } }