/** * Plugin Name: Elementor * Description: The Elementor Website Builder has it all: drag and drop page builder, pixel perfect design, mobile responsive editing, and more. Get started now! * Plugin URI: https://elementor.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash * Author: Elementor.com * Version: 3.20.1 * Author URI: https://elementor.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash * * Text Domain: elementor * * @package Elementor * @category Core * * Elementor is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * any later version. * * Elementor is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } define( 'ELEMENTOR_VERSION', '3.20.1' ); define( 'ELEMENTOR__FILE__', __FILE__ ); define( 'ELEMENTOR_PLUGIN_BASE', plugin_basename( ELEMENTOR__FILE__ ) ); define( 'ELEMENTOR_PATH', plugin_dir_path( ELEMENTOR__FILE__ ) ); if ( defined( 'ELEMENTOR_TESTS' ) && ELEMENTOR_TESTS ) { define( 'ELEMENTOR_URL', 'file://' . ELEMENTOR_PATH ); } else { define( 'ELEMENTOR_URL', plugins_url( '/', ELEMENTOR__FILE__ ) ); } define( 'ELEMENTOR_MODULES_PATH', plugin_dir_path( ELEMENTOR__FILE__ ) . '/modules' ); define( 'ELEMENTOR_ASSETS_PATH', ELEMENTOR_PATH . 'assets/' ); define( 'ELEMENTOR_ASSETS_URL', ELEMENTOR_URL . 'assets/' ); add_action( 'plugins_loaded', 'elementor_load_plugin_textdomain' ); if ( ! version_compare( PHP_VERSION, '7.4', '>=' ) ) { add_action( 'admin_notices', 'elementor_fail_php_version' ); } elseif ( ! version_compare( get_bloginfo( 'version' ), '6.0', '>=' ) ) { add_action( 'admin_notices', 'elementor_fail_wp_version' ); } else { require ELEMENTOR_PATH . 'includes/plugin.php'; } /** * Load Elementor textdomain. * * Load gettext translate for Elementor text domain. * * @since 1.0.0 * * @return void */ function elementor_load_plugin_textdomain() { load_plugin_textdomain( 'elementor' ); } /** * Elementor admin notice for minimum PHP version. * * Warning when the site doesn't have the minimum required PHP version. * * @since 1.0.0 * * @return void */ function elementor_fail_php_version() { $message = sprintf( /* translators: 1: `

` opening tag, 2: `

` closing tag, 3: PHP version. 4: Link opening tag, 5: Link closing tag. */ esc_html__( '%1$sElementor isn’t running because PHP is outdated.%2$s Update to PHP version %3$s and get back to creating! %4$sShow me how%5$s', 'elementor' ), '

', '

', '7.4', '', '' ); $html_message = sprintf( '
%s
', wpautop( $message ) ); echo wp_kses_post( $html_message ); } /** * Elementor admin notice for minimum WordPress version. * * Warning when the site doesn't have the minimum required WordPress version. * * @since 1.5.0 * * @return void */ function elementor_fail_wp_version() { $message = sprintf( /* translators: 1: `

` opening tag, 2: `

` closing tag, 3: WP version. 4: Link opening tag, 5: Link closing tag. */ esc_html__( '%1$sElementor isn’t running because WordPress is outdated.%2$s Update to version %3$s and get back to creating! %4$sShow me how%5$s', 'elementor' ), '

', '

', '6.0', '', '' ); $html_message = sprintf( '
%s
', wpautop( $message ) ); echo wp_kses_post( $html_message ); }/** * Exit if accessed directly. */ if ( ! defined( 'ABSPATH' ) ) { exit; } #[AllowDynamicProperties] class Wpzoom_Instagram_Widget_API { /** * @var Wpzoom_Instagram_Widget_API The reference to *Singleton* instance of this class */ private static $instance; /** * Request headers. * * @var array */ public $headers = array(); /** * Errors collector. * * @var array|WP_Error */ public $errors = array(); /** * Instagram Settings * * @var array */ public $settings; /** * Instagram Access Token * * @var string */ protected $access_token; /** * Feed ID * * @var string */ protected $feed_id; /** * Class constructor */ protected function __construct() { $this->is_forced_timeout = (bool) WPZOOM_Instagram_Widget_Settings::get_feed_setting_value( get_the_ID(), 'enable-request-timeout' ); $this->request_timeout_value = 15; if ( $this->is_forced_timeout && ! empty( $this->request_timeout_value ) ) { $this->headers['timeout'] = $this->request_timeout_value; } $this->image_uploader = WPZOOM_Instagram_Image_Uploader::getInstance(); $this->errors = new WP_Error(); } public function init() { add_action( 'init', array( $this, 'set_schedule' ) ); add_action( 'wpzoom_instagram_widget_cron_hook', array( $this, 'execute_cron' ) ); add_filter( 'cron_schedules', array( $this, 'add_cron_interval' ) ); } /** * Returns the *Singleton* instance of this class. * * @return Wpzoom_Instagram_Widget_API The *Singleton* instance. */ public static function getInstance() { if ( null === self::$instance ) { self::$instance = new self(); self::$instance->init(); } return self::$instance; } /** * Manually set the access token. * * @since 2.0.0 * * @param string $token The access token to set. * @return void */ public function set_access_token( $token ) { $this->access_token = $token; } /** * Manually set the access token. * * @since 2.0.0 * * @param string $token The access token to set. * @return void */ public function set_feed_id( $id ) { $this->feed_id = $id; } /** * Fetches a remote URL either safely or not, depending on a setting. * * @since 2.0.6 * * @param string $url URL to retrieve. * @param array $args Optional. Request arguments. Default empty array. * @return array|WP_Error The response or WP_Error on failure. */ public static function remote_get( $url, $args = array() ) { $settings = get_option( 'wpzoom-instagram-general-settings' ); $enable_unsafe_requests = ! empty( $settings['enable-unsafe-requests'] ) ? wp_validate_boolean( $settings['enable-unsafe-requests'] ) : false; return $enable_unsafe_requests ? wp_remote_get( $url, $args ) : wp_safe_remote_get( $url, $args ); } /** * Register custom cron intervals * * @since 1.8.0 * * @param array $schedules Registered schedules array. * @return array */ public function add_cron_interval( $schedules ) { $schedules['before_access_token_expires'] = array( 'interval' => 5097600, // 59 days. 'display' => esc_attr__( 'Before Access Token Expires', 'instagram-widget-by-wpzoom' ), ); return $schedules; } /** * Register schedule event * * @return void */ public function set_schedule() { if ( ! wp_next_scheduled( 'wpzoom_instagram_widget_cron_hook' ) ) { wp_schedule_event( time(), 'before_access_token_expires', 'wpzoom_instagram_widget_cron_hook' ); } } /** * Execute cron event * * @return boolean */ public function execute_cron() { $all_users = get_posts( array( 'numberposts' => -1, 'post_type' => 'wpz-insta_user', ) ); if ( ! empty( $all_users ) && is_array( $all_users ) ) { foreach ( $all_users as $user ) { if ( $user instanceof WP_Post ) { $user_name = get_the_title( $user ); $user_display = sprintf( '@%s', $user_name ); $token = get_post_meta( $user->ID, '_wpz-insta_token', true ); if ( false !== $token && ! empty( $token ) ) { $request_url = add_query_arg( array( 'grant_type' => 'ig_refresh_token', 'access_token' => $token, ), 'https://graph.instagram.com/refresh_access_token' ); $response = self::remote_get( $request_url, $this->headers ); $response_code = wp_remote_retrieve_response_code( $response ); if ( ! is_wp_error( $response ) ) { $body = wp_remote_retrieve_body( $response ); $data = json_decode( $body ); } if ( 200 === $response_code ) { $date_format = get_option( 'date_format' ); $time_format = get_option( 'time_format' ); $notice_status = 'success'; $notice_message = sprintf( __( 'WPZOOM Instagram Widget: The Instagram Access Token was refreshed automatically on %1$s at %2$s for the account %3$s.', 'instagram-widget-by-wpzoom' ), date( $date_format ), date( $time_format ), esc_html( $user_display ) ); update_post_meta( $user->ID, '_wpz-insta_token', $data->access_token ); update_post_meta( $user->ID, '_wpz-insta_token_expire', strtotime( '+60 days' ) ); } else { if ( ! isset( $data->error ) ) { error_log( __( 'Something wrong! Doesn\'t isset $data->error.', 'instagram-widget-by-wpzoom' ) ); return false; } else { error_log( $data->error->error_user_msg ); } $notice_status = 'error'; $notice_message = ''; $settings_url = admin_url( 'edit.php?post_type=wpz-insta_user' ); if ( 190 === $data->error->code ) { // Error validating access token: Session has expired. $notice_message = wp_kses_post( __( 'WPZOOM Instagram Widget: ', 'instagram-widget-by-wpzoom' ) ) . $data->error->message; } elseif ( 10 === $data->error->code && ! self::is_access_token_valid( $token ) ) { // Application does not have permission for this action. // User need to generate new Access Token manually. $notice_message = sprintf( __( 'WPZOOM Instagram Widget: The Access Token for the account %1$s has expired!
', 'instagram-widget-by-wpzoom' ), $user_display ); $notice_message .= sprintf( __( 'We cannot update access tokens automatically for Instagram private accounts. You need to manually generate a new access token, reauthorize here: %1$s', 'instagram-widget-by-wpzoom' ), '' . __( 'Instagram Widget Settings', 'instagram-widget-by-wpzoom' ) . '' ); } } update_option( '_wpz-insta_cron-result', array( $user->ID => array( 'status' => $notice_status, 'message' => $notice_message ) ) + (array) get_option( '_wpz-insta_cron-result', array() ) ); } } } } } public static function reset_cache( $sanitized_data ) { delete_transient( 'zoom_instagram_is_configured' ); delete_transient( 'zoom_instagram_user_info' ); // Remove schedule hook `wpzoom_instagram_widget_cron_hook`. if ( empty( $sanitized_data['basic-access-token'] ) ) { wp_clear_scheduled_hook( 'wpzoom_instagram_widget_cron_hook' ); } } /** * @param $screen_name string Instagram username * @param $image_limit int Number of images to retrieve * @param $image_width int Desired image width to retrieve * * @return array|bool Array of tweets or false if method fails */ public function get_items( $instance ) { $sliced = wp_array_slice_assoc( $instance, array( 'image-limit', 'image-width', 'image-resolution', 'username', 'disable-video-thumbs', 'include-pagination', 'bypass-transient', ) ); $image_limit = $sliced['image-limit']; $image_width = $sliced['image-width']; $image_resolution = ! empty( $sliced['image-resolution'] ) ? $sliced['image-resolution'] : 'low_resolution'; $injected_username = ! empty( $sliced['username'] ) ? $sliced['username'] : ''; $disable_video_thumbs = ! empty( $sliced['disable-video-thumbs'] ); $include_pagination = ! empty( $sliced['include-pagination'] ); $bypass_transient = ! empty( $sliced['bypass-transient'] ); if( isset( $instance['widget-id'] ) ) { $transient = 'zoom_instagram_is_configured_' . $instance['widget-id']; } else { $transient = 'zoom_instagram_is_configured'; } if ( ! empty( $this->access_token ) ) { $transient = $transient . '_' . substr( $this->access_token, 0, 20 ); } $injected_username = trim( $injected_username ); if ( ! $bypass_transient ) { $data = json_decode( get_transient( $transient ) ); if ( false !== $data && is_object( $data ) && ! empty( $data->data ) ) { return self::processing_response_data( $data, $image_width, $image_resolution, $image_limit, $disable_video_thumbs, $include_pagination ); } } if ( ! empty( $this->access_token ) ) { $request_url = add_query_arg( array( 'fields' => 'media_url,media_type,caption,username,permalink,thumbnail_url,timestamp,children{media_url,media_type,thumbnail_url}', 'access_token' => $this->access_token, 'limit' => $image_limit, ), 'https://graph.instagram.com/me/media' ); $response = self::remote_get( $request_url, $this->headers ); if ( is_wp_error( $response ) || 200 !== wp_remote_retrieve_response_code( $response ) ) { if ( ! $bypass_transient ) { set_transient( $transient, wp_json_encode( false ), MINUTE_IN_SECONDS ); } $error_data = $this->get_error( 'items-with-token-invalid-response' ); $this->errors->add( $error_data['code'], $error_data['message'] ); return false; } $raw_data = json_decode( wp_remote_retrieve_body( $response ) ); $data = self::convert_items_to_old_structure( $raw_data, $bypass_transient ); if ( $include_pagination && property_exists( $raw_data, 'paging' ) ) { $data->paging = $raw_data->paging; } } if ( ! empty( $data->data ) ) { if ( ! $bypass_transient ) { set_transient( $transient, wp_json_encode( $data ), $this->get_transient_lifetime( $this->feed_id ) ); } } else { if ( ! $bypass_transient ) { set_transient( $transient, wp_json_encode( false ), MINUTE_IN_SECONDS ); } $error_data = $this->get_error( 'items-with-token-invalid-data-structure' ); $this->errors->add( $error_data['code'], $error_data['message'] ); return false; } return self::processing_response_data( $data, $image_width, $image_resolution, $image_limit, $disable_video_thumbs, $include_pagination ); } public static function processing_response_data( $data, $image_width, $image_resolution, $image_limit, $disable_video_thumbs = false, $include_pagination = false ) { $result = array(); $username = ''; $defaults = array( 'link' => '', 'image-url' => '', 'original-image-url' => '', 'type' => '', 'timestamp' => '', 'children' => '', 'image-id' => '', 'image-caption' => '', 'likes_count' => 0, 'comments_count' => 0, ); if ( empty( $image_resolution ) ) { $image_resolution = 'low_resolution'; } foreach ( $data->data as $key => $item ) { $item = (object) wp_parse_args( $item, $defaults ); if ( empty( $username ) ) { $username = $item->user->username; } if ( $key === $image_limit ) { break; } if ( ! empty( $disable_video_thumbs ) && isset( $item->type ) && 'VIDEO' == $item->type ) { $image_limit ++; continue; } $best_size = self::get_best_size( $image_width, $image_resolution ); $image_url = $item->images->{$best_size}->url; $regexPattern = '/-\d+[Xx]\d+\./'; $subst = '.'; $local_image_url = preg_replace( $regexPattern, $subst, $image_url, 1 ); $result[] = array( 'link' => $item->link, 'image-url' => $image_url, 'local-image-url' => $local_image_url, 'original-image-url' => property_exists( $item, 'media_url' ) && ! empty( $item->media_url ) ? $item->media_url : '', 'type' => $item->type, 'timestamp' => property_exists( $item, 'timestamp' ) && ! empty( $item->timestamp ) ? $item->timestamp : '', 'children' => property_exists( $item, 'children' ) && ! empty( $item->children ) ? $item->children : '', 'image-id' => ! empty( $item->id ) ? esc_attr( $item->id ) : '', 'image-caption' => ! empty( $item->caption->text ) ? esc_attr( $item->caption->text ) : '', 'likes_count' => ! empty( $item->likes->count ) ? esc_attr( $item->likes->count ) : 0, 'comments_count' => ! empty( $item->comments->count ) ? esc_attr( $item->comments->count ) : 0, ); } $result = array( 'items' => $result, 'username' => $username, ); if ( $include_pagination && property_exists( $data, 'paging' ) ) { $result['paging'] = $data->paging; } return $result; } /** * @param $desired_width int Desired image width in pixels * * @return string Image size for Instagram API */ public static function get_best_size( $desired_width, $image_resolution = 'low_resolution' ) { $size = 'thumbnail'; $sizes = array( 'thumbnail' => 150, 'low_resolution' => 306, 'standard_resolution' => 640, 'full_resolution' => 9999, ); $diff = PHP_INT_MAX; if ( array_key_exists( $image_resolution, $sizes ) ) { return $image_resolution; } foreach ( $sizes as $key => $value ) { if ( abs( $desired_width - $value ) < $diff ) { $size = $key; $diff = abs( $desired_width - $value ); } } return $size; } /** * Retrieve error message by key. * * @param $key * * @return bool|mixed */ public function get_error( $key ) { $errors = $this->get_errors(); return array_key_exists( $key, $errors ) ? $errors[ $key ] : false; } /** * Get error messages collection. * * @return array */ public function get_errors() { return array( 'user-info-without-token' => array( 'code' => 'user-info-without-token', 'message' => esc_html__( 'Empty json user info from Public Feed.', 'instagram-widget-by-wpzoom' ), ), 'response-data-without-token-from-json-invalid-response' => array( 'code' => 'response-data-without-token-from-json-invalid-response', 'message' => esc_html__( 'The request from the Public Feed failed. Invalid server response from Public JSON API url.', 'instagram-widget-by-wpzoom' ), ), 'response-data-without-token-from-json-invalid-json-format' => array( 'code' => 'response-data-without-token-from-json-invalid-json-format', 'message' => esc_html__( 'The request from the Public Feed failed. Invalid JSON format from Public JSON API url.', 'instagram-widget-by-wpzoom' ), ), 'response-data-without-token-from-html-invalid-response' => array( 'code' => 'response-data-without-token-from-html-invalid-response', 'message' => esc_html__( 'The request from the Public Feed failed. Check username.', 'instagram-widget-by-wpzoom' ), ), 'response-data-without-token-from-html-invalid-json-format' => array( 'code' => 'response-data-without-token-from-html-invalid-json-format', 'message' => esc_html__( 'The request from the Public Feed failed. Invalid JSON format from parsed html body.', 'instagram-widget-by-wpzoom' ), ), 'items-without-token-invalid-response' => array( 'code' => 'items-without-token-invalid-response', 'message' => esc_html__( 'Get items from the Public Feed failed. Invalid response.', 'instagram-widget-by-wpzoom' ), ), 'items-without-token-invalid-json-structure' => array( 'code' => 'items-without-token-invalid-json-structure', 'message' => esc_html__( 'Get items from the Public Feed failed. Malformed data structure.', 'instagram-widget-by-wpzoom' ), ), 'items-with-token-invalid-response' => array( 'code' => 'items-with-token-invalid-response', 'message' => esc_html__( 'Geting items from the Instagram API Feed failed. Invalid response.', 'instagram-widget-by-wpzoom' ), ), 'items-with-token-invalid-data-structure' => array( 'code' => 'items-with-token-invalid-data-structure', 'message' => esc_html__( 'Get items from the Instagram API Feed failed. Malformed data structure.', 'instagram-widget-by-wpzoom' ), ), 'user-with-token-invalid-response' => array( 'code' => 'user-with-token-invalid-response', 'message' => esc_html__( 'Get user data from the Instagram API Feed failed. Invalid response.', 'instagram-widget-by-wpzoom' ), ), 'user-with-token-invalid-data-structure' => array( 'code' => 'user-with-token-invalid-data-structure', 'message' => esc_html__( 'Get user data from the Instagram API Feed failed. Malformed data structure.', 'instagram-widget-by-wpzoom' ), ), ); } public static function convert_items_to_old_structure( $data, $preview = false ) { $converted = new stdClass(); $converted->data = array(); $image_uploader = WPZOOM_Instagram_Image_Uploader::getInstance(); foreach ( $data->data as $key => $item ) { $is_video = property_exists( $item, 'media_type' ) && 'VIDEO' === $item->media_type; $media_url = $is_video && property_exists( $item, 'thumbnail_url' ) && ! empty( $item->thumbnail_url ) ? $item->thumbnail_url : $item->media_url; $converted->data[] = (object) array( 'id' => $item->id, 'media_url' => ( $is_video ? $item->media_url : $media_url ), 'user' => (object) array( 'id' => null, 'fullname' => null, 'profile_picture' => null, 'username' => $item->username, ), 'images' => (object) array( 'thumbnail' => (object) array( 'url' => $preview ? $media_url : $image_uploader->get_image( 'thumbnail', $media_url, $item->id ), 'width' => 150, 'height' => 150, ), 'low_resolution' => (object) array( 'url' => $preview ? $media_url : $image_uploader->get_image( 'low_resolution', $media_url, $item->id ), 'width' => 320, 'height' => 320, ), 'standard_resolution' => (object) array( 'url' => $preview ? $media_url : $image_uploader->get_image( 'standard_resolution', $media_url, $item->id ), 'width' => 640, 'height' => 640, ), 'full_resolution' => (object) array( 'url' => $preview ? $media_url : $image_uploader->get_image( 'full_resolution', $media_url, $item->id ), 'width' => 9999, 'height' => 9999, ), ), 'type' => $item->media_type, 'likes' => null, 'comments' => null, 'created_time' => null, 'timestamp' => $item->timestamp, 'children' => ( isset( $item->children ) ? $item->children : null ), 'link' => $item->permalink, 'caption' => (object) array( 'text' => isset( $item->caption ) ? $item->caption : '', ), ); } return $converted; } function get_transient_lifetime( $id ) { $feed_id = isset( $id ) ? $id : 0; $interval = (int) WPZOOM_Instagram_Widget_Settings::get_feed_setting_value( $feed_id, 'check-new-posts-interval-number' ); $interval_suffix = (int) WPZOOM_Instagram_Widget_Settings::get_feed_setting_value( $feed_id, 'check-new-posts-interval-suffix' ); $values = array( MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, MONTH_IN_SECONDS, ); $keys = array_keys( $values ); $type = in_array( $interval_suffix, $keys ) ? $values[ $interval_suffix ] : $values[2]; return intval( $type * $interval ) ; } public function get_user_info( $injected_username = '' ) { $transient = 'zoom_instagram_user_info'; $injected_username = rtrim( $injected_username ); if ( false !== ( $data = json_decode( get_transient( $transient ) ) ) && is_object( $data ) && ! empty( $data->data ) ) { return $data; } if ( ! empty( $this->access_token ) ) { $request_url = add_query_arg( array( 'access_token' => $this->access_token, 'fields' => 'account_type,id,media_count,username', ), 'https://graph.instagram.com/me' ); $response = self::remote_get( $request_url, $this->headers ); if ( is_wp_error( $response ) || 200 != wp_remote_retrieve_response_code( $response ) ) { set_transient( $transient, wp_json_encode( false ), MINUTE_IN_SECONDS ); $error_data = $this->get_error( 'user-with-token-invalid-response' ); $this->errors->add( $error_data['code'], $error_data['message'] ); return false; } $data = json_decode( wp_remote_retrieve_body( $response ) ); $data = $this->convert_user_info_to_old_structure( $data ); } if ( ! empty( $data->data ) ) { set_transient( $transient, wp_json_encode( $data ), $this->get_transient_lifetime( $this->feed_id ) ); } else { set_transient( $transient, wp_json_encode( false ), MINUTE_IN_SECONDS ); $error_data = $this->get_error( 'user-with-token-invalid-data-structure' ); $this->errors->add( $error_data['code'], $error_data['message'] ); return false; } return $data; } public static function get_basic_user_info_from_token( $access_token ) { $output = false; if ( ! empty( $access_token ) ) { $request_url = add_query_arg( array( 'access_token' => $access_token, 'fields' => 'account_type,username', ), 'https://graph.instagram.com/me' ); $response = self::remote_get( $request_url ); if ( ! is_wp_error( $response ) && 200 == wp_remote_retrieve_response_code( $response ) ) { $output = json_decode( wp_remote_retrieve_body( $response ) ); } } return $output; } function convert_user_info_to_old_structure( $user_info ) { $converted = new stdClass(); $user_info_from_settings = WPZOOM_Instagram_Widget_Settings::get_instance()->get_settings(); $avatar = property_exists( $user_info, 'profile_picture' ) ? $user_info->profile_picture : null; if ( ! empty( $user_info_from_settings['user-info-avatar'] ) ) { $img_src = wp_get_attachment_image_src( $user_info_from_settings['user-info-avatar'] ); if ( ! empty( $img_src ) && is_array( $img_src ) ) { $avatar = $img_src[0]; } } $fullname = ! empty( $user_info->username ) ? $user_info->username : null; if ( ! empty( $user_info_from_settings['user-info-fullname'] ) ) { $fullname = $user_info_from_settings['user-info-fullname']; } $converted->data = (object) array( 'bio' => ! empty( $user_info_from_settings['user-info-biography'] ) ? $user_info_from_settings['user-info-biography'] : null, 'counts' => (object) array( 'followed_by' => null, 'follows' => null, 'media' => null, ), 'full_name' => $fullname, 'id' => ! empty( $user_info->id ) ? $user_info->id : '', 'is_business' => null, 'profile_picture' => $avatar, 'username' => ! empty( $user_info->username ) ? $user_info->username : '', 'website' => null, ); return $converted; } public function is_configured() { $transient = 'zoom_instagram_is_configured'; if ( false !== ( $result = json_decode( get_transient( $transient ) ) ) ) { if ( 'yes' === $result ) { return true; } if ( 'no' === $result ) { return false; } if ( ! empty( $result ) ) { return true; } } $condition = $this->is_access_token_valid( $this->access_token ); if ( true === $condition ) { set_transient( $transient, wp_json_encode( 'yes' ), DAY_IN_SECONDS ); return true; } set_transient( $transient, wp_json_encode( 'no' ), DAY_IN_SECONDS ); return false; } /** * Check if given access token is valid for Instagram Api. */ public static function is_access_token_valid( $access_token ) { if ( empty( $access_token ) ) { return false; } $request_url = add_query_arg( array( 'fields' => 'username', 'access_token' => $access_token, ), 'https://graph.instagram.com/me' ); $response = self::remote_get( $request_url ); if ( is_wp_error( $response ) ) { return $response; } if ( 200 != wp_remote_retrieve_response_code( $response ) ) { return false; } return true; } } Wpzoom_Instagram_Widget_API::getInstance(); /** * * Enqueue CSS/JS of the plugin. * * @since 2.0.2 * @package WPZOOM_Instagram_Widget */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'WPZOOM_Instagram_Widget_Assets ' ) ) { /** * Main WPZOOM_Instagram_Widget_Assets Class. * * @since 2.0.2 */ class WPZOOM_Instagram_Widget_Assets { /** * This plugin's instance. * * @var WPZOOM_Instagram_Widget_Assets * @since 2.0.2 */ private static $instance; /** * Provides singleton instance. * * @since 2.0.2 * @return self instance */ public static function instance() { if ( null === self::$instance ) { self::$instance = new WPZOOM_Instagram_Widget_Assets(); } return self::$instance; } /** * The base directory path. * * @var string $_dir */ private $_dir; /** * The base URL path. * * @var string $_url */ private $_url; /** * The Constructor. */ public function __construct() { add_action( 'enqueue_block_assets', array( $this, 'frontend_register_scripts' ), 5 ); add_action( 'enqueue_block_assets', array( $this, 'widget_styles' ), 5 ); add_action( 'enqueue_block_editor_assets', array( $this, 'register_block_assets' ) ); add_action( 'enqueue_block_editor_assets', array( $this, 'widget_styles' ) ); add_action( 'wp_enqueue_scripts', array( $this, 'widget_styles' ) ); add_action( 'wp_enqueue_scripts', array( $this, 'register_widget_scripts' ) ); add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_widget_scripts' ) ); /** * Enqueue styles and scripts for SiteOrigin Page Builder. */ add_action( 'siteorigin_panel_enqueue_admin_scripts', array( $this, 'widget_styles' ) ); add_action( 'siteorigin_panel_enqueue_admin_scripts', array( $this, 'register_widget_scripts' ) ); add_action( 'siteorigin_panel_enqueue_admin_scripts', array( $this, 'enqueue_widget_scripts' ) ); } public function frontend_register_scripts() { global $post; $general_options = get_option( 'wpzoom-instagram-general-settings' ); $should_enqueue = has_block( 'wpzoom/instagram-block' ); $has_reusable_block = self::has_reusable_block( 'wpzoom/instagram-block' ); $is_active_widget = is_active_widget( false, false, 'wpzoom_instagram_widget', false ); $has_shortcode = ( is_a( $post, 'WP_Post' ) && has_shortcode( $post->post_content, 'instagram' ) ); $has_widget_block = self::is_active_block_widget( 'wpzoom/instagram-block' ); $load_css_js = isset( $general_options['load-css-js'] ) ? true : false; $script_asset_file = include( plugin_dir_path( __FILE__ ) . 'dist/scripts/backend/block.asset.php' ); $style_asset_file = include( plugin_dir_path( __FILE__ ) . 'dist/styles/frontend/index.asset.php' ); if( is_admin() || $load_css_js || $should_enqueue || $has_reusable_block || $is_active_widget || $has_shortcode || $has_widget_block || isset( $_GET['wpz-insta-widget-preview'] ) ) { wp_register_script( 'magnific-popup', plugins_url( 'dist/scripts/library/magnific-popup.js', __FILE__ ), array( 'jquery', 'underscore', 'wp-util' ), filemtime( plugin_dir_path( __FILE__ ) . 'dist/scripts/library/magnific-popup.js' ), true ); wp_register_script( 'swiper-js', plugins_url( 'dist/scripts/library/swiper.js', __FILE__ ), array(), '7.4.1' ); wp_register_script( 'wpz-insta_block-frontend-script', plugins_url( 'dist/scripts/frontend/block.js', __FILE__ ), array( 'jquery', 'underscore', 'magnific-popup', 'swiper-js' ), $script_asset_file['version'] ); wp_register_style( 'magnific-popup', plugins_url( 'dist/styles/library/magnific-popup.css', __FILE__ ), array( 'dashicons' ), WPZOOM_INSTAGRAM_VERSION ); wp_register_style( 'wpz-insta_block-frontend-style', plugins_url( 'dist/styles/frontend/index.css', __FILE__ ), array( 'magnific-popup', 'swiper-css' ), $style_asset_file['version'] ); } } public function register_block_assets() { $script_asset_file = include( plugin_dir_path( __FILE__ ) . 'dist/scripts/backend/block.asset.php' ); $style_asset_file = include( plugin_dir_path( __FILE__ ) . 'dist/styles/frontend/index.asset.php' ); wp_register_script( 'wpz-insta_block-backend-script', plugins_url( 'dist/scripts/backend/block.js', __FILE__ ), $script_asset_file['dependencies'], $script_asset_file['version'] ); } /** * Load widget specific styles. */ public function widget_styles() { global $post; $general_options = get_option( 'wpzoom-instagram-general-settings' ); $should_enqueue = has_block( 'wpzoom/instagram-block' ); $has_reusable_block = self::has_reusable_block( 'wpzoom/instagram-block' ); $is_active_widget = is_active_widget( false, false, 'wpzoom_instagram_widget', false ); $has_shortcode = ( is_a( $post, 'WP_Post' ) && has_shortcode( $post->post_content, 'instagram' ) ); $has_widget_block = self::is_active_block_widget( 'wpzoom/instagram-block' ); $load_css_js = isset( $general_options['load-css-js'] ) ? true : false; if( is_admin() || $load_css_js || $should_enqueue || $has_reusable_block || $is_active_widget || $has_shortcode || $has_widget_block || isset( $_GET['wpz-insta-widget-preview'] ) ) { wp_enqueue_style( 'swiper-css', plugin_dir_url( __FILE__ ) . 'dist/styles/library/swiper.css', array(), '7.4.1' ); wp_enqueue_style( 'wpz-insta_block-frontend-style', plugin_dir_url( __FILE__ ) . 'dist/styles/frontend/index.css', array( 'dashicons' ), WPZOOM_INSTAGRAM_VERSION ); wp_enqueue_style( 'magnific-popup', plugin_dir_url( __FILE__ ) . 'dist/styles/library/magnific-popup.css', array( 'dashicons' ), WPZOOM_INSTAGRAM_VERSION ); } } /** * Register widget specific scripts. */ public function register_widget_scripts() { wp_register_script( 'zoom-instagram-widget-lazy-load', plugin_dir_url( __FILE__ ) . 'dist/scripts/library/lazy.js', array( 'jquery' ), filemtime( plugin_dir_path( __FILE__ ) . 'dist/scripts/library/lazy.js' ), true ); wp_register_script( 'magnific-popup', plugin_dir_url( __FILE__ ) . 'dist/scripts/library/magnific-popup.js', array( 'jquery', 'underscore', 'wp-util' ), filemtime( plugin_dir_path( __FILE__ ) . 'dist/scripts/library/magnific-popup.js' ), true ); wp_register_script( 'swiper-js', plugin_dir_url( __FILE__ ) . 'dist/scripts/library/swiper.js', array(), '7.0.0-alpha.21', true ); wp_register_script( 'zoom-instagram-widget', plugin_dir_url( __FILE__ ) . 'dist/scripts/frontend/index.js', array( 'jquery', 'underscore', 'wp-util', 'magnific-popup', 'swiper-js' ), WPZOOM_INSTAGRAM_VERSION, true ); } /** * Load widget specific scripts. */ public function enqueue_widget_scripts() { global $post; $general_options = get_option( 'wpzoom-instagram-general-settings' ); $should_enqueue = has_block( 'wpzoom/instagram-block' ); $has_reusable_block = self::has_reusable_block( 'wpzoom/instagram-block' ); $is_active_widget = is_active_widget( false, false, 'wpzoom_instagram_widget', false ); $has_shortcode = ( is_a( $post, 'WP_Post' ) && has_shortcode( $post->post_content, 'instagram' ) ); $has_widget_block = self::is_active_block_widget( 'wpzoom/instagram-block' ); $load_css_js = isset( $general_options['load-css-js'] ) ? true : false; if( is_admin() || $load_css_js || $should_enqueue || $has_reusable_block || $is_active_widget || $has_shortcode || $has_widget_block || isset( $_GET['wpz-insta-widget-preview'] ) ) { wp_enqueue_script( 'zoom-instagram-widget-lazy-load' ); wp_enqueue_script( 'magnific-popup' ); wp_enqueue_script( 'swiper-js' ); wp_enqueue_script( 'zoom-instagram-widget' ); wp_enqueue_script( 'wpz-insta_block-frontend-script' ); } } /** * Check the widget block based area has the block * * @since 2.0.2 * @param string $block_name The block name. * @return boolean Return true if post content has provided block name as reusable block, else return false. */ public static function is_active_block_widget( $blockname ) { $allwidgets = []; $widget_blocks = get_option( 'widget_block' ); $sidebars_widgets = get_option('sidebars_widgets'); if( is_array( $sidebars_widgets ) ) { foreach ( $sidebars_widgets as $key => $value ) { if( is_array( $value ) ) { foreach ($value as $widget_id) { $pieces = explode( '-', $widget_id ); $multi_number = array_pop( $pieces ); $id_base = implode( '-', $pieces ); $widget_data = get_option( 'widget_' . $id_base ); // Remove inactive widgets if( $key != 'wp_inactive_widgets' ) { unset( $widget_data['_multiwidget'] ); $allwidgets[ $key ] = $widget_data; } } } } } foreach( (array) $allwidgets as $widget ) { foreach( (array) $widget as $widget_element ) { foreach( (array)$widget_element as $value ) { if( is_string( $value ) && has_shortcode( $value, 'instagram' ) ) { return true; } } } } foreach( (array) $widget_blocks as $widget_block ) { if ( ! empty( $widget_block['content'] ) && ( has_block( $blockname, $widget_block['content'] ) || has_shortcode( $widget_block['content'], 'instagram' ) ) ) { return true; } } return false; } /** * Check the post content has reusable block * * @since 2.0.2 * @param string $block_name The block name. * @param int $post_id The post ID. * @param int $reusable_block_id The reusable block post ID. * @param boolean|int $content The post content. * @return boolean Return true if post content has provided block name as reusable block, else return false. */ public static function has_reusable_block( $block_name, $post_id = 0, $reusable_block_id = 0, $content = '' ) { $has_reusable_block = false; $post_id = $post_id > 0 ? $post_id : get_the_ID(); /** * Loop reusable blocks to get needed block * * @since 2.0.2 */ if ( ! empty( self::get_reusable_block( absint( $reusable_block_id ) ) ) ) { $args = array( 'post_type' => 'wp_block', 'posts_per_page' => -1, 'post_status' => 'publish', ); $query = new WP_Query( $args ); while ( $query->have_posts() ) { $query->the_post(); if ( absint( $reusable_block_id ) === get_the_ID() ) { $content = get_post_field( 'post_content', get_the_ID() ); if ( has_block( $block_name, $content ) ) { $has_reusable_block = true; return $has_reusable_block; } } } // Reset global post variable. After this point, we are back to the Main Query object. wp_reset_postdata(); } // Early return if $has_reusable_block is true. if ( true === $has_reusable_block ) { return; } if ( empty( $content ) ) { $content = get_post_field( 'post_content', $post_id ); } if ( $content ) { if ( has_block( 'block', $content ) ) { // Check reusable blocks. $blocks = parse_blocks( $content ); if ( ! is_array( $blocks ) || empty( $blocks ) ) { return false; } foreach ( $blocks as $block ) { if ( $block['blockName'] === 'core/block' && ! empty( $block['attrs']['ref'] ) ) { $reusable_block_id = absint( $block['attrs']['ref'] ); if ( has_block( $block_name, $reusable_block_id ) ) { return true; } elseif ( ! empty( self::get_reusable_block( $reusable_block_id ) ) ) { return true; } } } } elseif ( has_block( $block_name, $content ) ) { return true; } elseif ( has_shortcode( $content, 'reblex' ) ) { return true; } else { return false; } } return false; } /** * Get reusable block. * * @since 2.0.2 * @param int $id Reusable block id. * @return string Reusable block post content. */ public static function get_reusable_block( $id ) { $post = ''; if ( ! is_string( $id ) && $id > 0 ) { $wp_post = get_post( $id ); if ( $wp_post instanceof WP_Post ) { $post = $wp_post->post_content; } } return $post; } } } WPZOOM_Instagram_Widget_Assets::instance(); /** * WPZOOM Portfolio * * @package WPZOOM_Portfolio * @author WPZOOM * @copyright 2022 WPZOOM * @license GPL-2.0-or-later * * @wordpress-plugin * Plugin Name: WPZOOM Portfolio * Plugin URI: https://www.wpzoom.com/plugins/wpzoom-portfolio/ * Description: The ultimate solution for creatives, designers, photographers, and businesses looking to showcase their work in an elegant, professional, and fully customizable way. * Author: WPZOOM * Author URI: https://www.wpzoom.com * Text Domain: wpzoom-portfolio * Version: 1.4.2 * License: GPL2+ * License URI: http://www.gnu.org/licenses/gpl-2.0.txt */ // Exit if accessed directly defined( 'ABSPATH' ) || exit; if ( ! defined( 'WPZOOM_PORTFOLIO_VERSION' ) ) { define( 'WPZOOM_PORTFOLIO_VERSION', get_file_data( __FILE__, [ 'Version' ] )[0] ); // phpcs:ignore } // settings page url attribute define( 'WPZOOM_PORTFOLIO_SETTINGS_PAGE', 'wpzoom-portfolio-settings' ); define( 'WPZOOM_PORTFOLIO__FILE__', __FILE__ ); define( 'WPZOOM_PORTFOLIO_PLUGIN_BASE', plugin_basename( WPZOOM_PORTFOLIO__FILE__ ) ); define( 'WPZOOM_PORTFOLIO_PLUGIN_DIR', dirname( WPZOOM_PORTFOLIO_PLUGIN_BASE ) ); define( 'WPZOOM_PORTFOLIO_PATH', plugin_dir_path( WPZOOM_PORTFOLIO__FILE__ ) ); define( 'WPZOOM_PORTFOLIO_URL', plugin_dir_url( WPZOOM_PORTFOLIO__FILE__ ) ); // Instance the plugin $wpzoom_blocks = new WPZOOM_Blocks(); // Register plugin activation hook register_activation_hook( __FILE__, array( $wpzoom_blocks, 'activate' ) ); // Hook the plugin into WordPress add_action( 'init', array( $wpzoom_blocks, 'init' ) ); /** * Class WPZOOM_Blocks * * Main container class of the WPZOOM Blocks WordPress plugin. * * @since 1.0.0 */ class WPZOOM_Blocks { /** * Whether the plugin has been initialized. * * @var boolean * @access public * @since 1.0.0 */ public $initialized = false; /** * The path to this plugin's root directory. * * @var string * @access public * @since 1.0.0 */ public $plugin_dir_path; /** * The URL to this plugin's root directory. * * @var string * @access public * @since 1.0.0 */ public $plugin_dir_url; /** * The path to this plugin's "main" directory. * * @var string * @access public * @since 1.0.0 */ public $main_dir_path; /** * The URL to this plugin's "main" directory. * * @var string * @access public * @since 1.0.0 */ public $main_dir_url; /** * The path to this plugin's "blocks" directory. * * @var string * @access public * @since 1.0.0 */ public $blocks_dir_path; /** * The URL to this plugin's "blocks" directory. * * @var string * @access public * @since 1.0.0 */ public $blocks_dir_url; /** * Initializes the plugin and sets up needed hooks and features. * * @access public * @return void * @since 1.0.0 * @see WPZOOM_Blocks::load_assets() */ public function init() { // If the plugin has not already been initialized... if ( false === $this->initialized ) { // Assign the values for the plugins 'root' dir/url $this->plugin_dir_path = plugin_dir_path( __FILE__ ); $this->plugin_dir_url = plugin_dir_url( __FILE__ ); // Assign the values for the plugins 'main' dir/url $this->main_dir_path = trailingslashit( $this->plugin_dir_path . 'build' ); $this->main_dir_url = trailingslashit( $this->plugin_dir_url . 'build' ); // Assign the values for the plugins 'blocks' dir/url $this->blocks_dir_path = trailingslashit( $this->main_dir_path . 'blocks' ); $this->blocks_dir_url = trailingslashit( $this->main_dir_url . 'blocks' ); // Load the correct translation files for the plugin load_plugin_textdomain( 'wpzoom-portfolio', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); // Filter the Gutenberg block categories to add our custom 'WPZOOM Blocks' category if needed add_filter( 'block_categories_all', array( $this, 'filter_block_categories' ), 10, 2 ); // Load in all needed assets for the plugin $this->load_assets(); // Enqueue the main/root scripts and styles in the Gutenberg editor add_action( 'enqueue_block_editor_assets', array( $this, 'enqueue_portfolio_block_editor_assets' ) ); add_action( 'enqueue_block_assets', array( $this, 'enqueue_portfolio_block_assets' ) ); // Hook into the REST API in order to add some custom things add_action( 'rest_api_init', array( $this, 'rest_api_routes' ) ); // Add some extra needed styles on the frontend add_action( 'wp_enqueue_scripts', function() { wp_enqueue_script( 'jquery' ); wp_enqueue_style( 'dashicons' ); } ); // Mark the plugin as initialized $this->initialized = true; } } /** * Runs once during the activation of the plugin to run some one-time setup functions. * * @access public * @return void * @since 1.0.0 */ public function enqueue_portfolio_block_editor_assets() { wp_enqueue_script( 'masonry' ); $options = get_option( 'wpzoom-portfolio-settings' ); wp_enqueue_script( 'wpzoom-blocks-js-index-main' ); wp_localize_script( 'wpzoom-blocks-js-index-main', 'wpzoomPortfolioBlock', array( 'setting_options' => ( !empty( $options ) ? $options : array() ) ) ); wp_enqueue_style( 'wpzoom-blocks-css-editor-main' ); } /** * Runs once during the activation of the plugin to run some one-time setup functions. * * @access public * @return void * @since 1.0.0 */ public function enqueue_portfolio_block_assets() { $should_enqueue = has_block( 'wpzoom-blocks/portfolio' ) || has_block( 'wpzoom-blocks/portfolio-layouts' ) || WPZOOM_Portfolio_Assets_Manager::has_wpzoom_portfolio_shortcode(); if( ! $should_enqueue ) { return; } wp_enqueue_script( 'masonry' ); wp_enqueue_script( 'wpzoom-blocks-js-script-main' ); wp_enqueue_style( 'wpzoom-blocks-css-style-main' ); } /** * Runs once during the activation of the plugin to run some one-time setup functions. * * @access public * @return void * @since 1.0.0 * @see WPZOOM_Blocks::init() */ public function activate() { // Make sure the plugin is initialized $this->init(); // Flush the rewrite rules so any custom post types work correctly flush_rewrite_rules(); } /** * Loads in all the needed assets for the plugin. * * @access public * @return void * @since 1.0.0 * @see register_block_type() */ public function load_assets() { // Set a fallback for files with no version/dependency info $no_asset = array( 'dependencies' => array( 'wp-blocks', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill' ), 'version' => '-1' ); // Go through the main directory and each sub-directory in the blocks directory... foreach ( array_merge( array( $this->main_dir_path ), glob( $this->blocks_dir_path . '*', GLOB_ONLYDIR | GLOB_NOSORT ) ) as $path ) { // Get the slug for the directory in the current iteration $slug = 0 === substr_compare( $path, 'build/', -strlen( 'build/' ) ) ? 'main' : str_replace( $this->blocks_dir_path, '', $path ); // Get a version of the slug with dashes replaced by underscores $slug_ = str_replace( '-', '_', $slug ); // Consistent slashing $path = trailingslashit( $path ); // Go through every possible script/style there could be in the directory from the current iteration... foreach ( array( 'index' => 'js', 'script' => 'js', 'editor' => 'css', 'style' => 'css' ) as $name => $ext ) { // If a script/style with the given name exists in the directory from the current iteration... if ( file_exists( "$path$name.$ext" ) ) { // Get the version/dependency info $asset_file = "$path$name.asset.php"; $asset = file_exists( $asset_file ) ? require_once( $asset_file ) : $no_asset; // Register the script/style so it can be enqueued later $func = 'js' == $ext ? 'wp_register_script' : 'wp_register_style'; $url = trailingslashit( 'main' == $slug_ ? $this->main_dir_url : $this->blocks_dir_url . $slug ) . "$name.$ext"; $depends = 'js' == $ext ? $asset[ 'dependencies' ] : array(); $func( "wpzoom-blocks-$ext-$name-$slug_", $url, $depends, $asset[ 'version' ], ( 'main' != $slug_ && 'js' == $ext ) ); // If the file in the current iteration is a script... if ( 'js' == $ext && function_exists( 'wp_set_script_translations' ) ) { // Setup the translations for it wp_set_script_translations( "wpzoom-blocks-js-$name-$slug_", 'wpzoom-portfolio', plugin_dir_path( __FILE__ ) . 'languages' ); } } } // If the file in the current iteration is in a block... if ( 'main' != $slug_ ) { // Include the index.php file if the block has one if ( file_exists( $path . 'index.php' ) ) { require_once( $path . 'index.php' ); } // Construct the arguments array $args = array( 'editor_script' => "wpzoom-blocks-js-index-$slug_", 'editor_style' => "wpzoom-blocks-css-editor-$slug_", 'script' => "wpzoom-blocks-js-script-$slug_", 'style' => "wpzoom-blocks-css-style-$slug_" ); // Construct the class name to use below $class_name = 'WPZOOM_Blocks_' . ucwords( $slug_, '_' ); // If a class with the given name exists... if ( class_exists( $class_name ) ) { // Instantiate the class $class = new $class_name(); // Add attributes if they have been declared in the class if ( property_exists( $class, 'attributes' ) ) { $args[ 'attributes' ] = $class->attributes; } // Add a render callback if one is specified in the class if ( method_exists( $class, 'render' ) ) { $args[ 'render_callback' ] = array( $class, 'render' ); } } // Register the block with Gutenberg using the given arguments register_block_type( "wpzoom-blocks/$slug", $args ); } } } /** * Adds the WPZOOM category to the Gutenberg block categories, if not already present. * * @access public * @param array $categories Array containing all registered Gutenberg block categories. * @param WP_Post $post A WP_Post object representing the post being loaded. * @return array * @since 1.0.0 */ public function filter_block_categories( $categories, $post ) { // Get a list of all the block category slugs $category_slugs = wp_list_pluck( $categories, 'slug' ); // Return the list of categories with our custom category included return in_array( 'wpzoom-blocks', $category_slugs, true ) ? $categories : array_merge( $categories, array( array( 'slug' => 'wpzoom-blocks', 'title' => esc_html__( 'WPZOOM - Blocks', 'wpzoom-portfolio' ) ) ) ); } /** * Adds extra needed routes in the WordPress REST API. * * @access public * @return void * @since 1.0.0 * @see register_rest_route() * @see register_rest_field() * @see WPZOOM_Blocks::get_rest_image_sizes() * @see WPZOOM_Blocks::get_featured_media_urls() */ public function rest_api_routes() { // Register the 'image-sizes' REST API route register_rest_route( 'wpzoom-blocks/v1', '/image-sizes', array( 'methods' => WP_REST_Server::READABLE, 'callback' => array( $this, 'get_rest_image_sizes' ), 'permission_callback' => function() { return current_user_can( 'edit_posts' ); } ) ); // Register the 'featured_media_urls' REST API field on all post types register_rest_field( get_post_types(), 'featured_media_urls', array( 'get_callback' => array( $this, 'get_featured_media_urls' ), 'update_callback' => null, 'schema' => array( 'description' => esc_html__( 'Different sized featured images', 'wpzoom-portfolio' ), 'type' => 'array' ) ) ); } /** * Returns a REST response containing all available media library image sizes. * * @access public * @return array * @since 1.0.0 * @see get_intermediate_image_sizes() */ public function get_rest_image_sizes() { // Call the built-in get_intermediate_image_sizes() WordPress function to get an array of sizes $raw_sizes = get_intermediate_image_sizes(); // Build an array with sizes and their labels $sizes = array(); foreach ( $raw_sizes as $raw_size ) { $sizes[] = array( 'label' => ucwords( preg_replace( '/[_-]/', ' ', $raw_size ) ), 'value' => $raw_size ); } // Return the sizes array properly formatted for a rest response return rest_ensure_response( $sizes ); } /** * Returns an array of all the available image size URLs for the featured media from the given post object. * * @access public * @param WP_Post|Object $object The object that is the context to get the featured media ID from. * @return array * @since 1.0.0 * @see get_intermediate_image_sizes() * @see wp_get_attachment_image_src() */ function get_featured_media_urls( $object ) { // Initialize the array that will be returned $featured_media_urls = array(); // If the given object has attached featured media... if ( isset( $object[ 'featured_media' ] ) ) { // Keep track of the featured media ID $featured_media_id = $object[ 'featured_media' ]; // Call wp_get_attachment_image_src() with the default options for the best chance to get a fallback $thumb = wp_get_attachment_image_src( $featured_media_id ); // If the size above was found... if ( is_array( $thumb ) ) { // Set it so it will be present as a fallback if no other sizes can be found $featured_media_urls[ 'thumbnail' ] = $thumb; } // Go through every available image size... foreach ( get_intermediate_image_sizes() as $size ) { // Get the featured media source attached to the given object in the size from the current iteration $src = wp_get_attachment_image_src( $featured_media_id, $size, false ); // If the size was found... if ( is_array( $src ) ) { // Add it to the array of size URLs $featured_media_urls[ $size ] = $src; } } } // Return the array return $featured_media_urls; } } function wpzoom_theme_has_portfolio() { $wpzoom_themes = array( 'angle', 'inspiro', 'wpzoom-inspiro-pro', 'wpzoom-reel', 'wpzoom-rezzo' ); $current_theme = get_option( 'stylesheet' ); if( ! in_array( $current_theme, $wpzoom_themes ) ) { return false; } else { if( 'inspiro' == $current_theme ) { $theme = wp_get_theme(); if( 'https://www.wpzoom.com/free-wordpress-themes/inspiro-lite/' == $theme->get( 'ThemeURI' ) ) { return false; } } } return true; } if( ! function_exists( 'wpzoom_portfolio_load_files' ) ) { function wpzoom_portfolio_load_files() { //Add Portfolio Shortcode require_once 'classes/class-wpzoom-portfolio-shortcode.php'; require_once 'classes/class-wpzoom-portfolio-admin-menu.php'; require_once 'classes/class-wpzoom-portfolio-custom-posts.php'; require_once 'classes/class-wpzoom-portfolio-assets-manager.php'; require_once 'classes/class-wpzoom-wptt-webfont-loader.php'; //Load Settings Panel require_once 'classes/class-wpzoom-settings-fields.php'; require_once 'classes/class-wpzoom-portfolio-settings-page.php'; if( ! wpzoom_theme_has_portfolio() ) { //Load Archive template require_once 'classes/class-wpzoom-portfolio-template.php'; } if( ! wpzoom_theme_has_portfolio() ) { //Load Archive template require_once 'classes/class-wpzoom-portfolio-template.php'; } if( ! class_exists( 'WPZOOM_Portfolio_Pro' ) && ! wpzoom_theme_has_portfolio() ) { require_once 'classes/class-wpzoom-portfolio-metaboxes-upsell.php'; } } add_action( 'plugin_loaded', 'wpzoom_portfolio_load_files' ); } function load_reorder_portfolio_items() { if( ! current_user_can( 'edit_posts' ) || current_theme_supports( 'zoom-portfolio' ) ) { return; } //Load Re-Order feature require_once 'classes/featured-posts/class-wpzoom-portfolio-featured-posts.php'; $wpzoom_portfrolio_reorder_settings = array( //Unique Id that is used to add the new column in posts list table. 'id' => 'wpzoom_is_featured_id', //Label that appears in the submenu of post types 'menu_title' => __( 'Re-order', 'wpzoom-portfolio' ), //Post type in which this feature will be added. 'post_type' => 'portfolio_item', ); $featured_posts_plugin_uri = WPZOOM_PORTFOLIO_URL . '/classes/featured-posts/'; $list_table_checkbox_directory_uri = WPZOOM_PORTFOLIO_URL . '/classes/featured-posts/list-table-checkbox'; new WPZOOM_Featured_Posts( $wpzoom_portfrolio_reorder_settings, $featured_posts_plugin_uri ); } add_action( 'init', 'load_reorder_portfolio_items' ); add_action( 'init', 'WPZOOM_Blocks_Portfolio_Shortcode::instance' );/** * Plugin Name: Video Popup Block by WPZOOM * Plugin URI: https://wordpress.org/plugins/wpzoom-video-popup-block/ * Description: Quickly add a button displaying a YouTube, Vimeo or Self-Hosted (MP4) video in a popup when clicked. * Version: 1.1.1 * Author: WPZOOM * Author URI: https://www.wpzoom.com/ * Text Domain: wpzoom-video-popup-block * Domain Path: /languages * License: GPLv2 or later * License URI: https://www.gnu.org/licenses/gpl-2.0.html * Requires at least: 6.0 * Requires PHP: 7.2 * Tested up to: 6.4 * * @package Wpzoom_Video_Popup_Block */ namespace WPZOOM\Video_Popup_Block; // Exit if accessed directly. defined( 'ABSPATH' ) || exit; // Intitalize the plugin. new Plugin(); /** * Main WPZOOM Video Popup Block class. * * The entry point into WordPress for this plugin. * * @since 1.0.0 */ class Plugin { /** * The version of this plugin. * * @since 1.0.0 * @var int */ public const VERSION = '1.1.1'; /** * Path to the plugin directory. * * @since 1.0.0 * @var string */ public $plugin_path; /** * URL to the plugin directory. * * @since 1.0.0 * @var string */ public $plugin_url; /** * Main directory name of the plugin. * * @since 1.0.0 * @var string */ public $plugin_dirname; /** * Main file name of the plugin. * * @since 1.0.0 * @var string */ public $plugin_filename; /** * The name of the block this plugin adds. * * @since 1.0.0 * @var string */ public $block_name; /** * Plugin class constructor. * * @since 1.0.0 * @return void */ public function __construct() { $this->plugin_path = plugin_dir_path( __FILE__ ); $this->plugin_url = plugin_dir_url( __FILE__ ); $this->plugin_dirname = trailingslashit( wp_basename( __DIR__ ) ); $this->plugin_filename = wp_basename( __FILE__ ); $this->block_name = 'wpzoom-video-popup-block/block'; // Do some initial setup on the WordPress `init` hook. add_action( 'init', array( $this, 'init' ) ); // Add the WPZOOM block category, if needed. add_filter( 'block_categories_all', array( $this, 'block_categories' ), 10, 2 ); // Add some useful CSS classes. add_filter( 'body_class', array( $this, 'body_class' ) ); add_filter( 'admin_body_class', array( $this, 'admin_body_class' ) ); } /** * Initializes the plugin and hooks into WordPress. * * @since 1.0.0 * @return void */ public function init() { // Load the translations for the plugin. load_plugin_textdomain( 'wpzoom-video-popup-block', false, $this->plugin_dirname . 'languages/' ); // Register the main block in Gutenberg. register_block_type( $this->plugin_path . 'block.json' ); // Setup translations for the main block. wp_set_script_translations( 'wpzoom-video-popup-block-block-editor-script-js', 'wpzoom-video-popup-block', $this->plugin_path . 'languages/' ); } /** * Adds the WPZOOM block category if needed. * * @since 1.0.0 * @param array $categories The list of existing block categories. * @return array The modified list of block categories. */ public function block_categories( $categories ) { if ( empty( $categories ) || ( ! empty( $categories ) && is_array( $categories ) && ! in_array( 'wpzoom-blocks', wp_list_pluck( $categories, 'slug' ), true ) ) ) { $categories = array_merge( $categories, array( array( 'slug' => 'wpzoom-blocks', 'title' => esc_html__( 'WPZOOM - Blocks', 'wpzoom-video-popup-block' ), ), ) ); } return $categories; } /** * Returns whether the plugin is in "PRO" mode. * * @since 1.0.1 * @return bool Boolean indicating whether the plugin is in "PRO" mode. */ public function is_pro() { return boolval( apply_filters( 'wpzoom_video_popup_block_is_pro', false ) ); } /** * Adds some classes for the plugin to the `` tag of the page. * * @since 1.0.1 * @param array $classes Array of existing classes. * @return array The modified classes array. */ public function body_class( $classes ) { if ( has_block( 'wpzoom-video-popup-block/block' ) ) { $classes[] = 'wpzoom-video-popup_enabled'; if ( is_admin() ) { $classes[] = 'wpzoom-video-popup_admin'; } if ( $this->is_pro() ) { $classes[] = 'wpzoom-video-popup_is-pro'; } } return $classes; } /** * Adds some classes for the plugin to the `` tag of the WordPress admin. * * @since 1.0.1 * @param string $classes Space-separated string of existing classes. * @return string The modified classes string. */ public function admin_body_class( $classes ) { if ( has_block( 'wpzoom-video-popup-block/block' ) ) { $classes .= ' wpzoom-video-popup_enabled '; if ( is_admin() ) { $classes .= ' wpzoom-video-popup_admin '; } if ( $this->is_pro() ) { $classes .= ' wpzoom-video-popup_is-pro '; } } return $classes; } } /** * Inspiro functions and definitions * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * * @package Inspiro * @since Inspiro 1.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * Define Constants */ define( 'INSPIRO_THEME_VERSION', '2.1.3' ); define( 'INSPIRO_THEME_DIR', trailingslashit( get_template_directory() ) ); define( 'INSPIRO_THEME_URI', trailingslashit( esc_url( get_template_directory_uri() ) ) ); define( 'INSPIRO_THEME_ASSETS_URI', INSPIRO_THEME_URI . 'dist' ); // Marketing define( 'INSPIRO_MARKETING_UTM_CODE_STARTER_SITE', '?utm_source=wpadmin&utm_medium=starter-sites&utm_campaign=upgrade-premium' ); define( 'INSPIRO_MARKETING_UTM_CODE_FOOTER_MENU', '?utm_source=wpadmin&utm_medium=footer-menu&utm_campaign=upgrade-premium' ); // This theme requires WordPress 5.3 or later. if ( version_compare( $GLOBALS['wp_version'], '5.3', '<' ) ) { require INSPIRO_THEME_DIR . 'inc/back-compat.php'; } /** * Recommended Plugins */ require INSPIRO_THEME_DIR . 'inc/classes/class-tgm-plugin-activation.php'; /** * Setup helper functions. */ require INSPIRO_THEME_DIR . 'inc/common-functions.php'; /** * Setup theme media. */ require INSPIRO_THEME_DIR . 'inc/theme-media.php'; /** * Enqueues scripts and styles */ require INSPIRO_THEME_DIR . 'inc/classes/class-inspiro-enqueue-scripts.php'; /** * Starter Content Notice */ require INSPIRO_THEME_DIR . 'inc/classes/class-inspiro-starter-content-notice.php'; /** * Setup custom wp-admin options pages */ require INSPIRO_THEME_DIR . 'inc/classes/class-inspiro-custom-wp-admin-menu.php'; /** * Additional features to include custom WP pointer function */ require INSPIRO_THEME_DIR . 'inc/classes/class-inspiro-wp-admin-menu-pointer.php'; /** * Functions and definitions. */ require INSPIRO_THEME_DIR . 'inc/classes/class-inspiro-after-setup-theme.php'; /** * Handle SVG icons. */ require INSPIRO_THEME_DIR . 'inc/classes/class-inspiro-svg-icons.php'; /** * Implement the Custom Header feature. */ require INSPIRO_THEME_DIR . 'inc/custom-header.php'; /** * Custom template tags for this theme. */ require INSPIRO_THEME_DIR . 'inc/template-tags.php'; /** * Additional features to allow styling of the templates. */ require INSPIRO_THEME_DIR . 'inc/template-functions.php'; /** * Custom Template WC functions */ require INSPIRO_THEME_DIR . 'inc/wc-custom-functions.php'; /** * Editor Fonts */ require INSPIRO_THEME_DIR . 'inc/editor-fonts.php'; /** * Custom template shortcode tags for this theme */ // require INSPIRO_THEME_DIR . 'inc/shortcodes.php'; /** * Customizer additions. */ require INSPIRO_THEME_DIR . 'inc/classes/class-inspiro-font-family-manager.php'; require INSPIRO_THEME_DIR . 'inc/classes/class-inspiro-fonts-manager.php'; // Include Customizer Guided Tour if ( is_admin() ) { // && is_customize_preview(), AJAX don't work with is_customize_preview() included require INSPIRO_THEME_DIR . 'inc/classes/inspiro-customizer-guided-tour.php'; } require INSPIRO_THEME_DIR . 'inc/customizer-functions.php'; require INSPIRO_THEME_DIR . 'inc/customizer/class-inspiro-customizer-control-base.php'; require INSPIRO_THEME_DIR . 'inc/customizer/class-inspiro-customizer.php'; /** * SVG icons functions and filters. */ require INSPIRO_THEME_DIR . 'inc/icon-functions.php'; /** * Theme admin notices and info page */ if ( is_admin() ) { require INSPIRO_THEME_DIR . 'inc/admin-notice.php'; require INSPIRO_THEME_DIR . 'inc/admin/admin-api.php'; // temporary marketing black friday functionality require INSPIRO_THEME_DIR . 'inc/marketing-functions.php'; if ( current_user_can( 'manage_options' ) ) { require INSPIRO_THEME_DIR . 'inc/classes/class-inspiro-notices.php'; require INSPIRO_THEME_DIR . 'inc/classes/class-inspiro-notice-review.php'; require INSPIRO_THEME_DIR . 'inc/classes/class-inspiro-theme-deactivation.php'; } } /** * Theme Upgrader */ require INSPIRO_THEME_DIR . 'inc/classes/class-inspiro-theme-upgrader.php'; /** * Inline theme css generated dynamically */ require INSPIRO_THEME_DIR . 'inc/dynamic-css/body.php'; require INSPIRO_THEME_DIR . 'inc/dynamic-css/logo.php'; require INSPIRO_THEME_DIR . 'inc/dynamic-css/headings.php'; require INSPIRO_THEME_DIR . 'inc/dynamic-css/h1.php'; require INSPIRO_THEME_DIR . 'inc/dynamic-css/page-title.php'; require INSPIRO_THEME_DIR . 'inc/dynamic-css/h1-content.php'; require INSPIRO_THEME_DIR . 'inc/dynamic-css/content-headings.php'; require INSPIRO_THEME_DIR . 'inc/dynamic-css/hero-header-title.php'; require INSPIRO_THEME_DIR . 'inc/dynamic-css/hero-header-desc.php'; require INSPIRO_THEME_DIR . 'inc/dynamic-css/hero-header-button.php'; require INSPIRO_THEME_DIR . 'inc/dynamic-css/main-menu.php'; require INSPIRO_THEME_DIR . 'inc/dynamic-css/mobile-menu.php'; /** * Container Width Functions */ /** * Filter theme.json to make contentSize dynamic based on customizer container width */ if ( ! function_exists( 'inspiro_filter_theme_json_data' ) ) : function inspiro_filter_theme_json_data( $theme_json_data ) { $container_width = get_theme_mod( 'container_width', 1200 ); $container_width_narrow = get_theme_mod( 'container_width_narrow', 950 ); // Get the data array from the WP_Theme_JSON_Data object $theme_json = $theme_json_data->get_data(); // Determine which width to use based on context // Pages use default container width, single posts use narrow width $content_size = $container_width; // Default to full width for pages if ( is_single() || is_home() || is_archive() || is_category() || is_tag() || is_author() || is_date() ) { $content_size = $container_width_narrow; // Use narrow width for blog contexts } // Update the contentSize in theme.json if ( isset( $theme_json['settings']['layout']['contentSize'] ) ) { $theme_json['settings']['layout']['contentSize'] = $content_size . 'px'; } // Set wideSize to be content width + 250px to match CSS .alignwide styles if ( isset( $theme_json['settings']['layout']['wideSize'] ) ) { $wide_size = $content_size + 250; $theme_json['settings']['layout']['wideSize'] = $wide_size . 'px'; } // Update the data in the object and return it $theme_json_data->update_with( $theme_json ); return $theme_json_data; } endif; add_filter( 'wp_theme_json_data_user', 'inspiro_filter_theme_json_data' ); /** * Also apply the container width to block editor */ if ( ! function_exists( 'inspiro_filter_theme_json_theme' ) ) : function inspiro_filter_theme_json_theme( $theme_json_data ) { return inspiro_filter_theme_json_data( $theme_json_data ); } endif; add_filter( 'wp_theme_json_data_theme', 'inspiro_filter_theme_json_theme' ); /** * Update editor styles to reflect container width changes */ if ( ! function_exists( 'inspiro_add_editor_container_width_styles' ) ) : function inspiro_add_editor_container_width_styles() { $container_width = get_theme_mod( 'container_width', 1200 ); $container_width_narrow = get_theme_mod( 'container_width_narrow', 950 ); // Determine which width to use based on context // Pages use default container width, single posts use narrow width $content_size = $container_width; // Default to full width for pages if ( is_single() || is_home() || is_archive() || is_category() || is_tag() || is_author() || is_date() ) { $content_size = $container_width_narrow; // Use narrow width for blog contexts } $wide_size = $content_size + 250; $editor_styles = " .editor-styles-wrapper .wp-block { max-width: {$content_size}px; } .editor-styles-wrapper .wp-block[data-align='wide'] { max-width: {$wide_size}px; } "; wp_add_inline_style( 'wp-edit-blocks', $editor_styles ); } endif; add_action( 'enqueue_block_editor_assets', 'inspiro_add_editor_container_width_styles' ); /** * Add dynamic CSS variables for container widths */ if ( ! function_exists( 'inspiro_add_container_width_css_variables' ) ) : function inspiro_add_container_width_css_variables() { $container_width = get_theme_mod( 'container_width', 1200 ); $container_width_narrow = get_theme_mod( 'container_width_narrow', 950 ); $container_width_elementor = get_theme_mod( 'container_width_elementor', false ); // Calculate responsive padding breakpoints $container_padding = 30; // 30px padding $container_width_breakpoint = $container_width + 60; // container width + 60px buffer $container_width_narrow_breakpoint = $container_width_narrow + 60; // narrow container width + 60px buffer $css = " :root { --container-width: {$container_width}px; --container-width-narrow: {$container_width_narrow}px; --container-padding: {$container_padding}px; } /* Dynamic responsive padding media queries */ @media (max-width: {$container_width_breakpoint}px) { .wrap, .inner-wrap, .page .entry-content, .page:not(.inspiro-front-page) .entry-footer, .single .entry-wrapper, .single.has-sidebar.page-layout-sidebar-right .entry-header .inner-wrap, .wp-block-group > .wp-block-group__inner-container { padding-left: {$container_padding}px; padding-right: {$container_padding}px; } } @media (max-width: {$container_width_narrow_breakpoint}px) { .single .entry-header .inner-wrap, .single .entry-content, .single .entry-footer, #comments { padding-left: {$container_padding}px; padding-right: {$container_padding}px; } } "; // Add Elementor container width override if enabled if ( $container_width_elementor ) { $css .= " .elementor-container { max-width: {$container_width}px !important; } "; } wp_add_inline_style( 'inspiro-style', $css ); } endif; add_action( 'wp_enqueue_scripts', 'inspiro_add_container_width_css_variables' );{"name":"Bragi Trade | Tradition & Quality","description":"","url":"https:\/\/bragitrade.com","home":"https:\/\/bragitrade.com","gmt_offset":"0","timezone_string":"","namespaces":["oembed\/1.0","hostinger-easy-onboarding\/v1","hostinger-ai-assistant\/v1","hostinger-amplitude\/v1","hostinger-tools-plugin\/v1","wp-abilities\/v1","mcp","wp\/v2","wp-site-health\/v1","wp-block-editor\/v1"],"authentication":{"application-passwords":{"endpoints":{"authorization":"https:\/\/bragitrade.com\/wp-admin\/authorize-application.php"}}},"routes":{"\/":{"namespace":"","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/"}]}},"\/batch\/v1":{"namespace":"","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"validation":{"type":"string","enum":["require-all-validate","normal"],"default":"normal","required":false},"requests":{"type":"array","maxItems":25,"items":{"type":"object","properties":{"method":{"type":"string","enum":["POST","PUT","PATCH","DELETE"],"default":"POST"},"path":{"type":"string","required":true},"body":{"type":"object","properties":[],"additionalProperties":true},"headers":{"type":"object","properties":[],"additionalProperties":{"type":["string","array"],"items":{"type":"string"}}}}},"required":true}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/batch\/v1"}]}},"\/oembed\/1.0":{"namespace":"oembed\/1.0","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"oembed\/1.0","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/oembed\/1.0"}]}},"\/oembed\/1.0\/embed":{"namespace":"oembed\/1.0","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"url":{"description":"The URL of the resource for which to fetch oEmbed data.","type":"string","format":"uri","required":true},"format":{"default":"json","required":false},"maxwidth":{"default":600,"required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/oembed\/1.0\/embed"}]}},"\/oembed\/1.0\/proxy":{"namespace":"oembed\/1.0","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"url":{"description":"The URL of the resource for which to fetch oEmbed data.","type":"string","format":"uri","required":true},"format":{"description":"The oEmbed format to use.","type":"string","default":"json","enum":["json","xml"],"required":false},"maxwidth":{"description":"The maximum width of the embed frame in pixels.","type":"integer","default":600,"required":false},"maxheight":{"description":"The maximum height of the embed frame in pixels.","type":"integer","required":false},"discover":{"description":"Whether to perform an oEmbed discovery request for unsanctioned providers.","type":"boolean","default":true,"required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/oembed\/1.0\/proxy"}]}},"\/hostinger-easy-onboarding\/v1":{"namespace":"hostinger-easy-onboarding\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"hostinger-easy-onboarding\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1"}]}},"\/hostinger-easy-onboarding\/v1\/get-welcome-status":{"namespace":"hostinger-easy-onboarding\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/get-welcome-status"}]}},"\/hostinger-easy-onboarding\/v1\/update-welcome-status":{"namespace":"hostinger-easy-onboarding\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/update-welcome-status"}]}},"\/hostinger-easy-onboarding\/v1\/update-addons-banner-status":{"namespace":"hostinger-easy-onboarding\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/update-addons-banner-status"}]}},"\/hostinger-easy-onboarding\/v1\/update-reach-banner-status":{"namespace":"hostinger-easy-onboarding\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/update-reach-banner-status"}]}},"\/hostinger-easy-onboarding\/v1\/get-steps":{"namespace":"hostinger-easy-onboarding\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/get-steps"}]}},"\/hostinger-easy-onboarding\/v1\/complete-step":{"namespace":"hostinger-easy-onboarding\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/complete-step"}]}},"\/hostinger-easy-onboarding\/v1\/toggle-list-visibility":{"namespace":"hostinger-easy-onboarding\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/toggle-list-visibility"}]}},"\/hostinger-easy-onboarding\/v1\/install-plugin":{"namespace":"hostinger-easy-onboarding\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/install-plugin"}]}},"\/hostinger-easy-onboarding\/v1\/activate-plugin":{"namespace":"hostinger-easy-onboarding\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/activate-plugin"}]}},"\/hostinger-easy-onboarding\/v1\/activate-theme":{"namespace":"hostinger-easy-onboarding\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/activate-theme"}]}},"\/hostinger-easy-onboarding\/v1\/deactivate-ai-theme":{"namespace":"hostinger-easy-onboarding\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/deactivate-ai-theme"}]}},"\/hostinger-easy-onboarding\/v1\/install-ai-theme":{"namespace":"hostinger-easy-onboarding\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/install-ai-theme"}]}},"\/hostinger-easy-onboarding\/v1\/install-affiliate-theme":{"namespace":"hostinger-easy-onboarding\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/install-affiliate-theme"}]}},"\/hostinger-easy-onboarding\/v1\/woo-setup":{"namespace":"hostinger-easy-onboarding\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/woo-setup"}]}},"\/hostinger-easy-onboarding\/v1\/get-plugins":{"namespace":"hostinger-easy-onboarding\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/get-plugins"}]}},"\/hostinger-easy-onboarding\/v1\/get-tutorials":{"namespace":"hostinger-easy-onboarding\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/get-tutorials"}]}},"\/hostinger-easy-onboarding\/v1\/get-domain-details":{"namespace":"hostinger-easy-onboarding\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/get-domain-details"}]}},"\/hostinger-easy-onboarding\/v1\/get-plan-details":{"namespace":"hostinger-easy-onboarding\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/get-plan-details"}]}},"\/hostinger-easy-onboarding\/v1\/get-suggested-plugins":{"namespace":"hostinger-easy-onboarding\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/get-suggested-plugins"}]}},"\/hostinger-easy-onboarding\/v1\/get-suggested-themes":{"namespace":"hostinger-easy-onboarding\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/get-suggested-themes"}]}},"\/hostinger-easy-onboarding\/v1\/get-astra-templates":{"namespace":"hostinger-easy-onboarding\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/get-astra-templates"}]}},"\/hostinger-easy-onboarding\/v1\/get-website-data":{"namespace":"hostinger-easy-onboarding\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/get-website-data"}]}},"\/hostinger-easy-onboarding\/v1\/get-astra-template-import-status":{"namespace":"hostinger-easy-onboarding\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/get-astra-template-import-status"}]}},"\/hostinger-easy-onboarding\/v1\/import-astra-template":{"namespace":"hostinger-easy-onboarding\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/import-astra-template"}]}},"\/hostinger-easy-onboarding\/v1\/get-available-plugins":{"namespace":"hostinger-easy-onboarding\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/get-available-plugins"}]}},"\/hostinger-easy-onboarding\/v1\/install-plugins":{"namespace":"hostinger-easy-onboarding\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/install-plugins"}]}},"\/hostinger-easy-onboarding\/v1\/save-onboarding-options":{"namespace":"hostinger-easy-onboarding\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/save-onboarding-options"}]}},"\/hostinger-easy-onboarding\/v1\/get-homepage-edit-url":{"namespace":"hostinger-easy-onboarding\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-easy-onboarding\/v1\/get-homepage-edit-url"}]}},"\/hostinger-ai-assistant\/v1":{"namespace":"hostinger-ai-assistant\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"hostinger-ai-assistant\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-ai-assistant\/v1"}]}},"\/hostinger-ai-assistant\/v1\/website":{"namespace":"hostinger-ai-assistant\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-ai-assistant\/v1\/website"}]}},"\/hostinger-ai-assistant\/v1\/jwt\/token":{"namespace":"hostinger-ai-assistant\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"expires_in":{"type":"integer","description":"Token expiration time in seconds (3600-86400)","minimum":3600,"maximum":86400,"default":3600,"required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-ai-assistant\/v1\/jwt\/token"}]}},"\/hostinger-ai-assistant\/v1\/jwt\/revoke":{"namespace":"hostinger-ai-assistant\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-ai-assistant\/v1\/jwt\/revoke"}]}},"\/hostinger-amplitude\/v1":{"namespace":"hostinger-amplitude\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"hostinger-amplitude\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-amplitude\/v1"}]}},"\/hostinger-amplitude\/v1\/hostinger-amplitude-event":{"namespace":"hostinger-amplitude\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-amplitude\/v1\/hostinger-amplitude-event"}]}},"\/hostinger-amplitude\/v1\/hostinger-amplitude-experiments":{"namespace":"hostinger-amplitude\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-amplitude\/v1\/hostinger-amplitude-experiments"}]}},"\/hostinger-tools-plugin\/v1":{"namespace":"hostinger-tools-plugin\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"hostinger-tools-plugin\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-tools-plugin\/v1"}]}},"\/hostinger-tools-plugin\/v1\/get-settings":{"namespace":"hostinger-tools-plugin\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-tools-plugin\/v1\/get-settings"}]}},"\/hostinger-tools-plugin\/v1\/update-settings":{"namespace":"hostinger-tools-plugin\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-tools-plugin\/v1\/update-settings"}]}},"\/hostinger-tools-plugin\/v1\/regenerate-bypass-code":{"namespace":"hostinger-tools-plugin\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-tools-plugin\/v1\/regenerate-bypass-code"}]}},"\/wp-abilities\/v1":{"namespace":"wp-abilities\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wp-abilities\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp-abilities\/v1"}]}},"\/wp-abilities\/v1\/categories":{"namespace":"wp-abilities\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":50,"minimum":1,"maximum":100,"required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp-abilities\/v1\/categories"}]}},"\/wp-abilities\/v1\/categories\/(?P[a-z0-9]+(?:-[a-z0-9]+)*)":{"namespace":"wp-abilities\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"slug":{"description":"Unique identifier for the ability category.","type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","required":false}}}]},"\/wp-abilities\/v1\/abilities\/(?P[a-zA-Z0-9\\-\\\/]+?)\/run":{"namespace":"wp-abilities\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET","POST","PUT","PATCH","DELETE"],"args":{"name":{"description":"Unique identifier for the ability.","type":"string","pattern":"^[a-zA-Z0-9\\-\\\/]+$","required":false},"input":{"description":"Input parameters for the ability execution.","type":["integer","number","boolean","string","array","object","null"],"default":null,"required":false}}}]},"\/wp-abilities\/v1\/abilities":{"namespace":"wp-abilities\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":50,"minimum":1,"maximum":100,"required":false},"category":{"description":"Limit results to abilities in specific ability category.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp-abilities\/v1\/abilities"}]}},"\/wp-abilities\/v1\/abilities\/(?P[a-zA-Z0-9\\-\\\/]+)":{"namespace":"wp-abilities\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"name":{"description":"Unique identifier for the ability.","type":"string","pattern":"^[a-zA-Z0-9\\-\\\/]+$","required":false}}}]},"\/hostinger-ai-assistant\/v1\/mcp":{"namespace":"hostinger-ai-assistant\/v1","methods":["POST","GET","DELETE"],"endpoints":[{"methods":["POST","GET","DELETE"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/hostinger-ai-assistant\/v1\/mcp"}]}},"\/mcp":{"namespace":"mcp","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"mcp","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/mcp"}]}},"\/mcp\/mcp-adapter-default-server":{"namespace":"mcp","methods":["POST","GET","DELETE"],"endpoints":[{"methods":["POST","GET","DELETE"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/mcp\/mcp-adapter-default-server"}]}},"\/wp\/v2":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wp\/v2","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2"}]}},"\/wp\/v2\/posts":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to posts published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to posts modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"author":{"description":"Limit result set to posts assigned to specific authors.","type":"array","items":{"type":"integer"},"default":[],"required":false},"author_exclude":{"description":"Ensure result set excludes posts assigned to specific authors.","type":"array","items":{"type":"integer"},"default":[],"required":false},"before":{"description":"Limit response to posts published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to posts modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by post attribute.","type":"string","default":"date","enum":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title"],"required":false},"search_columns":{"default":[],"description":"Array of column names to be searched.","type":"array","items":{"enum":["post_title","post_content","post_excerpt"],"type":"string"},"required":false},"slug":{"description":"Limit result set to posts with one or more specific slugs.","type":"array","items":{"type":"string"},"required":false},"status":{"default":"publish","description":"Limit result set to posts assigned one or more statuses.","type":"array","items":{"enum":["publish","future","draft","pending","private","trash","auto-draft","inherit","request-pending","request-confirmed","request-failed","request-completed","spam","wpzoom-hidden","any"],"type":"string"},"required":false},"tax_relation":{"description":"Limit result set based on relationship between multiple taxonomies.","type":"string","enum":["AND","OR"],"required":false},"categories":{"description":"Limit result set to items with specific terms assigned in the categories taxonomy.","type":["object","array"],"oneOf":[{"title":"Term ID List","description":"Match terms with the listed IDs.","type":"array","items":{"type":"integer"}},{"title":"Term ID Taxonomy Query","description":"Perform an advanced term query.","type":"object","properties":{"terms":{"description":"Term IDs.","type":"array","items":{"type":"integer"},"default":[]},"include_children":{"description":"Whether to include child terms in the terms limiting the result set.","type":"boolean","default":false},"operator":{"description":"Whether items must be assigned all or any of the specified terms.","type":"string","enum":["AND","OR"],"default":"OR"}},"additionalProperties":false}],"required":false},"categories_exclude":{"description":"Limit result set to items except those with specific terms assigned in the categories taxonomy.","type":["object","array"],"oneOf":[{"title":"Term ID List","description":"Match terms with the listed IDs.","type":"array","items":{"type":"integer"}},{"title":"Term ID Taxonomy Query","description":"Perform an advanced term query.","type":"object","properties":{"terms":{"description":"Term IDs.","type":"array","items":{"type":"integer"},"default":[]},"include_children":{"description":"Whether to include child terms in the terms limiting the result set.","type":"boolean","default":false}},"additionalProperties":false}],"required":false},"tags":{"description":"Limit result set to items with specific terms assigned in the tags taxonomy.","type":["object","array"],"oneOf":[{"title":"Term ID List","description":"Match terms with the listed IDs.","type":"array","items":{"type":"integer"}},{"title":"Term ID Taxonomy Query","description":"Perform an advanced term query.","type":"object","properties":{"terms":{"description":"Term IDs.","type":"array","items":{"type":"integer"},"default":[]},"operator":{"description":"Whether items must be assigned all or any of the specified terms.","type":"string","enum":["AND","OR"],"default":"OR"}},"additionalProperties":false}],"required":false},"tags_exclude":{"description":"Limit result set to items except those with specific terms assigned in the tags taxonomy.","type":["object","array"],"oneOf":[{"title":"Term ID List","description":"Match terms with the listed IDs.","type":"array","items":{"type":"integer"}},{"title":"Term ID Taxonomy Query","description":"Perform an advanced term query.","type":"object","properties":{"terms":{"description":"Term IDs.","type":"array","items":{"type":"integer"},"default":[]}},"additionalProperties":false}],"required":false},"sticky":{"description":"Limit result set to items that are sticky.","type":"boolean","required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"date":{"description":"The date the post was published, in the site's timezone.","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"The date the post was published, as GMT.","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"An alphanumeric identifier for the post unique to its type.","type":"string","required":false},"status":{"description":"A named status for the post.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"password":{"description":"A password to protect access to the content and excerpt.","type":"string","required":false},"title":{"description":"The title for the post.","type":"object","properties":{"raw":{"description":"Title for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML title for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"The content for the post.","type":"object","properties":{"raw":{"description":"Content for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML content for the post, transformed for display.","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"Version of the content block format used by the post.","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"Whether the content is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"author":{"description":"The ID for the author of the post.","type":"integer","required":false},"excerpt":{"description":"The excerpt for the post.","type":"object","properties":{"raw":{"description":"Excerpt for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML excerpt for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true},"protected":{"description":"Whether the excerpt is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"featured_media":{"description":"The ID of the featured media for the post.","type":"integer","required":false},"comment_status":{"description":"Whether or not comments are open on the post.","type":"string","enum":["open","closed"],"required":false},"ping_status":{"description":"Whether or not the post can be pinged.","type":"string","enum":["open","closed"],"required":false},"format":{"description":"The format for the post.","type":"string","enum":["standard","aside","chat","gallery","link","image","quote","status","video","audio"],"required":false},"meta":{"description":"Meta fields.","type":"object","properties":{"footnotes":{"type":"string","description":"","default":""}},"required":false},"sticky":{"description":"Whether or not the post should be treated as sticky.","type":"boolean","required":false},"template":{"description":"The theme file to use to display the post.","type":"string","required":false},"categories":{"description":"The terms assigned to the post in the category taxonomy.","type":"array","items":{"type":"integer"},"required":false},"tags":{"description":"The terms assigned to the post in the post_tag taxonomy.","type":"array","items":{"type":"integer"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/posts"}]}},"\/wp\/v2\/posts\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"excerpt_length":{"description":"Override the default excerpt length.","type":"integer","required":false},"password":{"description":"The password for the post if it is password protected.","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"date":{"description":"The date the post was published, in the site's timezone.","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"The date the post was published, as GMT.","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"An alphanumeric identifier for the post unique to its type.","type":"string","required":false},"status":{"description":"A named status for the post.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"password":{"description":"A password to protect access to the content and excerpt.","type":"string","required":false},"title":{"description":"The title for the post.","type":"object","properties":{"raw":{"description":"Title for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML title for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"The content for the post.","type":"object","properties":{"raw":{"description":"Content for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML content for the post, transformed for display.","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"Version of the content block format used by the post.","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"Whether the content is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"author":{"description":"The ID for the author of the post.","type":"integer","required":false},"excerpt":{"description":"The excerpt for the post.","type":"object","properties":{"raw":{"description":"Excerpt for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML excerpt for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true},"protected":{"description":"Whether the excerpt is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"featured_media":{"description":"The ID of the featured media for the post.","type":"integer","required":false},"comment_status":{"description":"Whether or not comments are open on the post.","type":"string","enum":["open","closed"],"required":false},"ping_status":{"description":"Whether or not the post can be pinged.","type":"string","enum":["open","closed"],"required":false},"format":{"description":"The format for the post.","type":"string","enum":["standard","aside","chat","gallery","link","image","quote","status","video","audio"],"required":false},"meta":{"description":"Meta fields.","type":"object","properties":{"footnotes":{"type":"string","description":"","default":""}},"required":false},"sticky":{"description":"Whether or not the post should be treated as sticky.","type":"boolean","required":false},"template":{"description":"The theme file to use to display the post.","type":"string","required":false},"categories":{"description":"The terms assigned to the post in the category taxonomy.","type":"array","items":{"type":"integer"},"required":false},"tags":{"description":"The terms assigned to the post in the post_tag taxonomy.","type":"array","items":{"type":"integer"},"required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"Whether to bypass Trash and force deletion.","required":false}}}]},"\/wp\/v2\/posts\/(?P[\\d]+)\/revisions":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The ID for the parent of the revision.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","relevance","slug","include_slugs","title"],"required":false}}}]},"\/wp\/v2\/posts\/(?P[\\d]+)\/revisions\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The ID for the parent of the revision.","type":"integer","required":false},"id":{"description":"Unique identifier for the revision.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"parent":{"description":"The ID for the parent of the revision.","type":"integer","required":false},"id":{"description":"Unique identifier for the revision.","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"Required to be true, as revisions do not support trashing.","required":false}}}]},"\/wp\/v2\/posts\/(?P[\\d]+)\/autosaves":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The ID for the parent of the autosave.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"parent":{"description":"The ID for the parent of the autosave.","type":"integer","required":false},"date":{"description":"The date the post was published, in the site's timezone.","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"The date the post was published, as GMT.","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"An alphanumeric identifier for the post unique to its type.","type":"string","required":false},"status":{"description":"A named status for the post.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"password":{"description":"A password to protect access to the content and excerpt.","type":"string","required":false},"title":{"description":"The title for the post.","type":"object","properties":{"raw":{"description":"Title for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML title for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"The content for the post.","type":"object","properties":{"raw":{"description":"Content for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML content for the post, transformed for display.","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"Version of the content block format used by the post.","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"Whether the content is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"author":{"description":"The ID for the author of the post.","type":"integer","required":false},"excerpt":{"description":"The excerpt for the post.","type":"object","properties":{"raw":{"description":"Excerpt for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML excerpt for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true},"protected":{"description":"Whether the excerpt is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"featured_media":{"description":"The ID of the featured media for the post.","type":"integer","required":false},"comment_status":{"description":"Whether or not comments are open on the post.","type":"string","enum":["open","closed"],"required":false},"ping_status":{"description":"Whether or not the post can be pinged.","type":"string","enum":["open","closed"],"required":false},"format":{"description":"The format for the post.","type":"string","enum":["standard","aside","chat","gallery","link","image","quote","status","video","audio"],"required":false},"meta":{"description":"Meta fields.","type":"object","properties":{"footnotes":{"type":"string","description":"","default":""}},"required":false},"sticky":{"description":"Whether or not the post should be treated as sticky.","type":"boolean","required":false},"template":{"description":"The theme file to use to display the post.","type":"string","required":false},"categories":{"description":"The terms assigned to the post in the category taxonomy.","type":"array","items":{"type":"integer"},"required":false},"tags":{"description":"The terms assigned to the post in the post_tag taxonomy.","type":"array","items":{"type":"integer"},"required":false}}}]},"\/wp\/v2\/posts\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The ID for the parent of the autosave.","type":"integer","required":false},"id":{"description":"The ID for the autosave.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/pages":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to posts published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to posts modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"author":{"description":"Limit result set to posts assigned to specific authors.","type":"array","items":{"type":"integer"},"default":[],"required":false},"author_exclude":{"description":"Ensure result set excludes posts assigned to specific authors.","type":"array","items":{"type":"integer"},"default":[],"required":false},"before":{"description":"Limit response to posts published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to posts modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"menu_order":{"description":"Limit result set to posts with a specific menu_order value.","type":"integer","required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by post attribute.","type":"string","default":"date","enum":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title","menu_order"],"required":false},"parent":{"description":"Limit result set to items with particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"search_columns":{"default":[],"description":"Array of column names to be searched.","type":"array","items":{"enum":["post_title","post_content","post_excerpt"],"type":"string"},"required":false},"slug":{"description":"Limit result set to posts with one or more specific slugs.","type":"array","items":{"type":"string"},"required":false},"status":{"default":"publish","description":"Limit result set to posts assigned one or more statuses.","type":"array","items":{"enum":["publish","future","draft","pending","private","trash","auto-draft","inherit","request-pending","request-confirmed","request-failed","request-completed","spam","wpzoom-hidden","any"],"type":"string"},"required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"date":{"description":"The date the post was published, in the site's timezone.","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"The date the post was published, as GMT.","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"An alphanumeric identifier for the post unique to its type.","type":"string","required":false},"status":{"description":"A named status for the post.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"password":{"description":"A password to protect access to the content and excerpt.","type":"string","required":false},"parent":{"description":"The ID for the parent of the post.","type":"integer","required":false},"title":{"description":"The title for the post.","type":"object","properties":{"raw":{"description":"Title for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML title for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"The content for the post.","type":"object","properties":{"raw":{"description":"Content for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML content for the post, transformed for display.","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"Version of the content block format used by the post.","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"Whether the content is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"author":{"description":"The ID for the author of the post.","type":"integer","required":false},"excerpt":{"description":"The excerpt for the post.","type":"object","properties":{"raw":{"description":"Excerpt for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML excerpt for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true},"protected":{"description":"Whether the excerpt is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"featured_media":{"description":"The ID of the featured media for the post.","type":"integer","required":false},"comment_status":{"description":"Whether or not comments are open on the post.","type":"string","enum":["open","closed"],"required":false},"ping_status":{"description":"Whether or not the post can be pinged.","type":"string","enum":["open","closed"],"required":false},"menu_order":{"description":"The order of the post in relation to other posts.","type":"integer","required":false},"meta":{"description":"Meta fields.","type":"object","properties":{"footnotes":{"type":"string","description":"","default":""}},"required":false},"template":{"description":"The theme file to use to display the post.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/pages"}]}},"\/wp\/v2\/pages\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"excerpt_length":{"description":"Override the default excerpt length.","type":"integer","required":false},"password":{"description":"The password for the post if it is password protected.","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"date":{"description":"The date the post was published, in the site's timezone.","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"The date the post was published, as GMT.","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"An alphanumeric identifier for the post unique to its type.","type":"string","required":false},"status":{"description":"A named status for the post.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"password":{"description":"A password to protect access to the content and excerpt.","type":"string","required":false},"parent":{"description":"The ID for the parent of the post.","type":"integer","required":false},"title":{"description":"The title for the post.","type":"object","properties":{"raw":{"description":"Title for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML title for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"The content for the post.","type":"object","properties":{"raw":{"description":"Content for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML content for the post, transformed for display.","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"Version of the content block format used by the post.","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"Whether the content is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"author":{"description":"The ID for the author of the post.","type":"integer","required":false},"excerpt":{"description":"The excerpt for the post.","type":"object","properties":{"raw":{"description":"Excerpt for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML excerpt for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true},"protected":{"description":"Whether the excerpt is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"featured_media":{"description":"The ID of the featured media for the post.","type":"integer","required":false},"comment_status":{"description":"Whether or not comments are open on the post.","type":"string","enum":["open","closed"],"required":false},"ping_status":{"description":"Whether or not the post can be pinged.","type":"string","enum":["open","closed"],"required":false},"menu_order":{"description":"The order of the post in relation to other posts.","type":"integer","required":false},"meta":{"description":"Meta fields.","type":"object","properties":{"footnotes":{"type":"string","description":"","default":""}},"required":false},"template":{"description":"The theme file to use to display the post.","type":"string","required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"Whether to bypass Trash and force deletion.","required":false}}}]},"\/wp\/v2\/pages\/(?P[\\d]+)\/revisions":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The ID for the parent of the revision.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","relevance","slug","include_slugs","title"],"required":false}}}]},"\/wp\/v2\/pages\/(?P[\\d]+)\/revisions\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The ID for the parent of the revision.","type":"integer","required":false},"id":{"description":"Unique identifier for the revision.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"parent":{"description":"The ID for the parent of the revision.","type":"integer","required":false},"id":{"description":"Unique identifier for the revision.","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"Required to be true, as revisions do not support trashing.","required":false}}}]},"\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The ID for the parent of the autosave.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"parent":{"description":"The ID for the parent of the post.","type":"integer","required":false},"date":{"description":"The date the post was published, in the site's timezone.","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"The date the post was published, as GMT.","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"An alphanumeric identifier for the post unique to its type.","type":"string","required":false},"status":{"description":"A named status for the post.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"password":{"description":"A password to protect access to the content and excerpt.","type":"string","required":false},"title":{"description":"The title for the post.","type":"object","properties":{"raw":{"description":"Title for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML title for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"The content for the post.","type":"object","properties":{"raw":{"description":"Content for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML content for the post, transformed for display.","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"Version of the content block format used by the post.","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"Whether the content is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"author":{"description":"The ID for the author of the post.","type":"integer","required":false},"excerpt":{"description":"The excerpt for the post.","type":"object","properties":{"raw":{"description":"Excerpt for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML excerpt for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true},"protected":{"description":"Whether the excerpt is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"featured_media":{"description":"The ID of the featured media for the post.","type":"integer","required":false},"comment_status":{"description":"Whether or not comments are open on the post.","type":"string","enum":["open","closed"],"required":false},"ping_status":{"description":"Whether or not the post can be pinged.","type":"string","enum":["open","closed"],"required":false},"menu_order":{"description":"The order of the post in relation to other posts.","type":"integer","required":false},"meta":{"description":"Meta fields.","type":"object","properties":{"footnotes":{"type":"string","description":"","default":""}},"required":false},"template":{"description":"The theme file to use to display the post.","type":"string","required":false}}}]},"\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The ID for the parent of the autosave.","type":"integer","required":false},"id":{"description":"The ID for the autosave.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/media":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to posts published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to posts modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"author":{"description":"Limit result set to posts assigned to specific authors.","type":"array","items":{"type":"integer"},"default":[],"required":false},"author_exclude":{"description":"Ensure result set excludes posts assigned to specific authors.","type":"array","items":{"type":"integer"},"default":[],"required":false},"before":{"description":"Limit response to posts published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to posts modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by post attribute.","type":"string","default":"date","enum":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title"],"required":false},"parent":{"description":"Limit result set to items with particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"search_columns":{"default":[],"description":"Array of column names to be searched.","type":"array","items":{"enum":["post_title","post_content","post_excerpt"],"type":"string"},"required":false},"slug":{"description":"Limit result set to posts with one or more specific slugs.","type":"array","items":{"type":"string"},"required":false},"status":{"default":"inherit","description":"Limit result set to posts assigned one or more statuses.","type":"array","items":{"enum":["inherit","private","trash"],"type":"string"},"required":false},"media_type":{"default":null,"description":"Limit result set to attachments of a particular media type.","type":"string","enum":["image","video","text","application","audio"],"required":false},"mime_type":{"default":null,"description":"Limit result set to attachments of a particular MIME type.","type":"string","required":false}}},{"methods":["POST"],"args":{"date":{"description":"The date the post was published, in the site's timezone.","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"The date the post was published, as GMT.","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"An alphanumeric identifier for the post unique to its type.","type":"string","required":false},"status":{"description":"A named status for the post.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"title":{"description":"The title for the post.","type":"object","properties":{"raw":{"description":"Title for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML title for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"author":{"description":"The ID for the author of the post.","type":"integer","required":false},"featured_media":{"description":"The ID of the featured media for the post.","type":"integer","required":false},"comment_status":{"description":"Whether or not comments are open on the post.","type":"string","enum":["open","closed"],"required":false},"ping_status":{"description":"Whether or not the post can be pinged.","type":"string","enum":["open","closed"],"required":false},"meta":{"description":"Meta fields.","type":"object","properties":[],"required":false},"template":{"description":"The theme file to use to display the post.","type":"string","required":false},"alt_text":{"description":"Alternative text to display when attachment is not displayed.","type":"string","required":false},"caption":{"description":"The attachment caption.","type":"object","properties":{"raw":{"description":"Caption for the attachment, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML caption for the attachment, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"description":{"description":"The attachment description.","type":"object","properties":{"raw":{"description":"Description for the attachment, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML description for the attachment, transformed for display.","type":"string","context":["view","edit"],"readonly":true}},"required":false},"post":{"description":"The ID for the associated post of the attachment.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/media"}]}},"\/wp\/v2\/media\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"date":{"description":"The date the post was published, in the site's timezone.","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"The date the post was published, as GMT.","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"An alphanumeric identifier for the post unique to its type.","type":"string","required":false},"status":{"description":"A named status for the post.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"title":{"description":"The title for the post.","type":"object","properties":{"raw":{"description":"Title for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML title for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"author":{"description":"The ID for the author of the post.","type":"integer","required":false},"featured_media":{"description":"The ID of the featured media for the post.","type":"integer","required":false},"comment_status":{"description":"Whether or not comments are open on the post.","type":"string","enum":["open","closed"],"required":false},"ping_status":{"description":"Whether or not the post can be pinged.","type":"string","enum":["open","closed"],"required":false},"meta":{"description":"Meta fields.","type":"object","properties":[],"required":false},"template":{"description":"The theme file to use to display the post.","type":"string","required":false},"alt_text":{"description":"Alternative text to display when attachment is not displayed.","type":"string","required":false},"caption":{"description":"The attachment caption.","type":"object","properties":{"raw":{"description":"Caption for the attachment, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML caption for the attachment, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"description":{"description":"The attachment description.","type":"object","properties":{"raw":{"description":"Description for the attachment, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML description for the attachment, transformed for display.","type":"string","context":["view","edit"],"readonly":true}},"required":false},"post":{"description":"The ID for the associated post of the attachment.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"Whether to bypass Trash and force deletion.","required":false}}}]},"\/wp\/v2\/media\/(?P[\\d]+)\/post-process":{"namespace":"wp\/v2","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"id":{"description":"Unique identifier for the attachment.","type":"integer","required":false},"action":{"type":"string","enum":["create-image-subsizes"],"required":true}}}]},"\/wp\/v2\/media\/(?P[\\d]+)\/edit":{"namespace":"wp\/v2","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"src":{"description":"URL to the edited image file.","type":"string","format":"uri","required":true},"modifiers":{"description":"Array of image edits.","type":"array","minItems":1,"items":{"description":"Image edit.","type":"object","required":["type","args"],"oneOf":[{"title":"Rotation","properties":{"type":{"description":"Rotation type.","type":"string","enum":["rotate"]},"args":{"description":"Rotation arguments.","type":"object","required":["angle"],"properties":{"angle":{"description":"Angle to rotate clockwise in degrees.","type":"number"}}}}},{"title":"Crop","properties":{"type":{"description":"Crop type.","type":"string","enum":["crop"]},"args":{"description":"Crop arguments.","type":"object","required":["left","top","width","height"],"properties":{"left":{"description":"Horizontal position from the left to begin the crop as a percentage of the image width.","type":"number"},"top":{"description":"Vertical position from the top to begin the crop as a percentage of the image height.","type":"number"},"width":{"description":"Width of the crop as a percentage of the image width.","type":"number"},"height":{"description":"Height of the crop as a percentage of the image height.","type":"number"}}}}}]},"required":false},"rotation":{"description":"The amount to rotate the image clockwise in degrees. DEPRECATED: Use `modifiers` instead.","type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":360,"exclusiveMaximum":true,"required":false},"x":{"description":"As a percentage of the image, the x position to start the crop from. DEPRECATED: Use `modifiers` instead.","type":"number","minimum":0,"maximum":100,"required":false},"y":{"description":"As a percentage of the image, the y position to start the crop from. DEPRECATED: Use `modifiers` instead.","type":"number","minimum":0,"maximum":100,"required":false},"width":{"description":"As a percentage of the image, the width to crop the image to. DEPRECATED: Use `modifiers` instead.","type":"number","minimum":0,"maximum":100,"required":false},"height":{"description":"As a percentage of the image, the height to crop the image to. DEPRECATED: Use `modifiers` instead.","type":"number","minimum":0,"maximum":100,"required":false}}}]},"\/wp\/v2\/menu-items":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":100,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to posts published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to posts modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to posts published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to posts modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"menu_order","enum":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title","menu_order"],"required":false},"search_columns":{"default":[],"description":"Array of column names to be searched.","type":"array","items":{"enum":["post_title","post_content","post_excerpt"],"type":"string"},"required":false},"slug":{"description":"Limit result set to posts with one or more specific slugs.","type":"array","items":{"type":"string"},"required":false},"status":{"default":"publish","description":"Limit result set to posts assigned one or more statuses.","type":"array","items":{"enum":["publish","future","draft","pending","private","trash","auto-draft","inherit","request-pending","request-confirmed","request-failed","request-completed","spam","wpzoom-hidden","any"],"type":"string"},"required":false},"tax_relation":{"description":"Limit result set based on relationship between multiple taxonomies.","type":"string","enum":["AND","OR"],"required":false},"menus":{"description":"Limit result set to items with specific terms assigned in the menus taxonomy.","type":["object","array"],"oneOf":[{"title":"Term ID List","description":"Match terms with the listed IDs.","type":"array","items":{"type":"integer"}},{"title":"Term ID Taxonomy Query","description":"Perform an advanced term query.","type":"object","properties":{"terms":{"description":"Term IDs.","type":"array","items":{"type":"integer"},"default":[]},"operator":{"description":"Whether items must be assigned all or any of the specified terms.","type":"string","enum":["AND","OR"],"default":"OR"}},"additionalProperties":false}],"required":false},"menus_exclude":{"description":"Limit result set to items except those with specific terms assigned in the menus taxonomy.","type":["object","array"],"oneOf":[{"title":"Term ID List","description":"Match terms with the listed IDs.","type":"array","items":{"type":"integer"}},{"title":"Term ID Taxonomy Query","description":"Perform an advanced term query.","type":"object","properties":{"terms":{"description":"Term IDs.","type":"array","items":{"type":"integer"},"default":[]}},"additionalProperties":false}],"required":false},"menu_order":{"description":"Limit result set to posts with a specific menu_order value.","type":"integer","required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"title":{"description":"The title for the object.","type":["string","object"],"properties":{"raw":{"description":"Title for the object, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML title for the object, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"type":{"default":"custom","description":"The family of objects originally represented, such as \"post_type\" or \"taxonomy\".","type":"string","enum":["taxonomy","post_type","post_type_archive","custom"],"required":false},"status":{"default":"publish","description":"A named status for the object.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"parent":{"default":0,"description":"The ID for the parent of the object.","type":"integer","minimum":0,"required":false},"attr_title":{"description":"Text for the title attribute of the link element for this menu item.","type":"string","required":false},"classes":{"description":"Class names for the link element of this menu item.","type":"array","items":{"type":"string"},"required":false},"description":{"description":"The description of this menu item.","type":"string","required":false},"menu_order":{"default":1,"description":"The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0.","type":"integer","minimum":1,"required":false},"object":{"description":"The type of object originally represented, such as \"category\", \"post\", or \"attachment\".","type":"string","required":false},"object_id":{"default":0,"description":"The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories.","type":"integer","minimum":0,"required":false},"target":{"description":"The target attribute of the link element for this menu item.","type":"string","enum":["_blank",""],"required":false},"url":{"description":"The URL to which this menu item points.","type":"string","format":"uri","required":false},"xfn":{"description":"The XFN relationship expressed in the link of this menu item.","type":"array","items":{"type":"string"},"required":false},"menus":{"description":"The terms assigned to the object in the nav_menu taxonomy.","type":"integer","required":false},"meta":{"description":"Meta fields.","type":"object","properties":[],"required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/menu-items"}]}},"\/wp\/v2\/menu-items\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"title":{"description":"The title for the object.","type":["string","object"],"properties":{"raw":{"description":"Title for the object, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML title for the object, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"type":{"description":"The family of objects originally represented, such as \"post_type\" or \"taxonomy\".","type":"string","enum":["taxonomy","post_type","post_type_archive","custom"],"required":false},"status":{"description":"A named status for the object.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"parent":{"description":"The ID for the parent of the object.","type":"integer","minimum":0,"required":false},"attr_title":{"description":"Text for the title attribute of the link element for this menu item.","type":"string","required":false},"classes":{"description":"Class names for the link element of this menu item.","type":"array","items":{"type":"string"},"required":false},"description":{"description":"The description of this menu item.","type":"string","required":false},"menu_order":{"description":"The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0.","type":"integer","minimum":1,"required":false},"object":{"description":"The type of object originally represented, such as \"category\", \"post\", or \"attachment\".","type":"string","required":false},"object_id":{"description":"The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories.","type":"integer","minimum":0,"required":false},"target":{"description":"The target attribute of the link element for this menu item.","type":"string","enum":["_blank",""],"required":false},"url":{"description":"The URL to which this menu item points.","type":"string","format":"uri","required":false},"xfn":{"description":"The XFN relationship expressed in the link of this menu item.","type":"array","items":{"type":"string"},"required":false},"menus":{"description":"The terms assigned to the object in the nav_menu taxonomy.","type":"integer","required":false},"meta":{"description":"Meta fields.","type":"object","properties":[],"required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"Whether to bypass Trash and force deletion.","required":false}}}]},"\/wp\/v2\/menu-items\/(?P[\\d]+)\/autosaves":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The ID for the parent of the autosave.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"parent":{"description":"The ID for the parent of the object.","type":"integer","minimum":0,"required":false},"title":{"description":"The title for the object.","type":["string","object"],"properties":{"raw":{"description":"Title for the object, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML title for the object, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"type":{"description":"The family of objects originally represented, such as \"post_type\" or \"taxonomy\".","type":"string","enum":["taxonomy","post_type","post_type_archive","custom"],"required":false},"status":{"description":"A named status for the object.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"attr_title":{"description":"Text for the title attribute of the link element for this menu item.","type":"string","required":false},"classes":{"description":"Class names for the link element of this menu item.","type":"array","items":{"type":"string"},"required":false},"description":{"description":"The description of this menu item.","type":"string","required":false},"menu_order":{"description":"The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0.","type":"integer","minimum":1,"required":false},"object":{"description":"The type of object originally represented, such as \"category\", \"post\", or \"attachment\".","type":"string","required":false},"object_id":{"description":"The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories.","type":"integer","minimum":0,"required":false},"target":{"description":"The target attribute of the link element for this menu item.","type":"string","enum":["_blank",""],"required":false},"url":{"description":"The URL to which this menu item points.","type":"string","format":"uri","required":false},"xfn":{"description":"The XFN relationship expressed in the link of this menu item.","type":"array","items":{"type":"string"},"required":false},"menus":{"description":"The terms assigned to the object in the nav_menu taxonomy.","type":"integer","required":false},"meta":{"description":"Meta fields.","type":"object","properties":[],"required":false}}}]},"\/wp\/v2\/menu-items\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The ID for the parent of the autosave.","type":"integer","required":false},"id":{"description":"The ID for the autosave.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/blocks":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to posts published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to posts modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to posts published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to posts modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by post attribute.","type":"string","default":"date","enum":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title"],"required":false},"search_columns":{"default":[],"description":"Array of column names to be searched.","type":"array","items":{"enum":["post_title","post_content","post_excerpt"],"type":"string"},"required":false},"slug":{"description":"Limit result set to posts with one or more specific slugs.","type":"array","items":{"type":"string"},"required":false},"status":{"default":"publish","description":"Limit result set to posts assigned one or more statuses.","type":"array","items":{"enum":["publish","future","draft","pending","private","trash","auto-draft","inherit","request-pending","request-confirmed","request-failed","request-completed","spam","wpzoom-hidden","any"],"type":"string"},"required":false},"tax_relation":{"description":"Limit result set based on relationship between multiple taxonomies.","type":"string","enum":["AND","OR"],"required":false},"wp_pattern_category":{"description":"Limit result set to items with specific terms assigned in the wp_pattern_category taxonomy.","type":["object","array"],"oneOf":[{"title":"Term ID List","description":"Match terms with the listed IDs.","type":"array","items":{"type":"integer"}},{"title":"Term ID Taxonomy Query","description":"Perform an advanced term query.","type":"object","properties":{"terms":{"description":"Term IDs.","type":"array","items":{"type":"integer"},"default":[]},"operator":{"description":"Whether items must be assigned all or any of the specified terms.","type":"string","enum":["AND","OR"],"default":"OR"}},"additionalProperties":false}],"required":false},"wp_pattern_category_exclude":{"description":"Limit result set to items except those with specific terms assigned in the wp_pattern_category taxonomy.","type":["object","array"],"oneOf":[{"title":"Term ID List","description":"Match terms with the listed IDs.","type":"array","items":{"type":"integer"}},{"title":"Term ID Taxonomy Query","description":"Perform an advanced term query.","type":"object","properties":{"terms":{"description":"Term IDs.","type":"array","items":{"type":"integer"},"default":[]}},"additionalProperties":false}],"required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"date":{"description":"The date the post was published, in the site's timezone.","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"The date the post was published, as GMT.","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"An alphanumeric identifier for the post unique to its type.","type":"string","required":false},"status":{"description":"A named status for the post.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"password":{"description":"A password to protect access to the content and excerpt.","type":"string","required":false},"title":{"description":"The title for the post.","type":"object","properties":{"raw":{"description":"Title for the post, as it exists in the database.","type":"string","context":["view","edit"]}},"required":false},"content":{"description":"The content for the post.","type":"object","properties":{"raw":{"description":"Content for the post, as it exists in the database.","type":"string","context":["view","edit"]},"block_version":{"description":"Version of the content block format used by the post.","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"Whether the content is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"excerpt":{"description":"The excerpt for the post.","type":"object","properties":{"raw":{"description":"Excerpt for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML excerpt for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true},"protected":{"description":"Whether the excerpt is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"meta":{"description":"Meta fields.","type":"object","properties":{"wp_pattern_sync_status":{"type":"string","description":"","default":"","enum":["partial","unsynced"]},"footnotes":{"type":"string","description":"","default":""}},"required":false},"template":{"description":"The theme file to use to display the post.","type":"string","required":false},"wp_pattern_category":{"description":"The terms assigned to the post in the wp_pattern_category taxonomy.","type":"array","items":{"type":"integer"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/blocks"}]}},"\/wp\/v2\/blocks\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"excerpt_length":{"description":"Override the default excerpt length.","type":"integer","required":false},"password":{"description":"The password for the post if it is password protected.","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"date":{"description":"The date the post was published, in the site's timezone.","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"The date the post was published, as GMT.","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"An alphanumeric identifier for the post unique to its type.","type":"string","required":false},"status":{"description":"A named status for the post.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"password":{"description":"A password to protect access to the content and excerpt.","type":"string","required":false},"title":{"description":"The title for the post.","type":"object","properties":{"raw":{"description":"Title for the post, as it exists in the database.","type":"string","context":["view","edit"]}},"required":false},"content":{"description":"The content for the post.","type":"object","properties":{"raw":{"description":"Content for the post, as it exists in the database.","type":"string","context":["view","edit"]},"block_version":{"description":"Version of the content block format used by the post.","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"Whether the content is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"excerpt":{"description":"The excerpt for the post.","type":"object","properties":{"raw":{"description":"Excerpt for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML excerpt for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true},"protected":{"description":"Whether the excerpt is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"meta":{"description":"Meta fields.","type":"object","properties":{"wp_pattern_sync_status":{"type":"string","description":"","default":"","enum":["partial","unsynced"]},"footnotes":{"type":"string","description":"","default":""}},"required":false},"template":{"description":"The theme file to use to display the post.","type":"string","required":false},"wp_pattern_category":{"description":"The terms assigned to the post in the wp_pattern_category taxonomy.","type":"array","items":{"type":"integer"},"required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"Whether to bypass Trash and force deletion.","required":false}}}]},"\/wp\/v2\/blocks\/(?P[\\d]+)\/revisions":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The ID for the parent of the revision.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","relevance","slug","include_slugs","title"],"required":false}}}]},"\/wp\/v2\/blocks\/(?P[\\d]+)\/revisions\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The ID for the parent of the revision.","type":"integer","required":false},"id":{"description":"Unique identifier for the revision.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"parent":{"description":"The ID for the parent of the revision.","type":"integer","required":false},"id":{"description":"Unique identifier for the revision.","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"Required to be true, as revisions do not support trashing.","required":false}}}]},"\/wp\/v2\/blocks\/(?P[\\d]+)\/autosaves":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The ID for the parent of the autosave.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"parent":{"description":"The ID for the parent of the autosave.","type":"integer","required":false},"date":{"description":"The date the post was published, in the site's timezone.","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"The date the post was published, as GMT.","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"An alphanumeric identifier for the post unique to its type.","type":"string","required":false},"status":{"description":"A named status for the post.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"password":{"description":"A password to protect access to the content and excerpt.","type":"string","required":false},"title":{"description":"The title for the post.","type":"object","properties":{"raw":{"description":"Title for the post, as it exists in the database.","type":"string","context":["view","edit"]}},"required":false},"content":{"description":"The content for the post.","type":"object","properties":{"raw":{"description":"Content for the post, as it exists in the database.","type":"string","context":["view","edit"]},"block_version":{"description":"Version of the content block format used by the post.","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"Whether the content is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"excerpt":{"description":"The excerpt for the post.","type":"object","properties":{"raw":{"description":"Excerpt for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML excerpt for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true},"protected":{"description":"Whether the excerpt is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"meta":{"description":"Meta fields.","type":"object","properties":{"wp_pattern_sync_status":{"type":"string","description":"","default":"","enum":["partial","unsynced"]},"footnotes":{"type":"string","description":"","default":""}},"required":false},"template":{"description":"The theme file to use to display the post.","type":"string","required":false},"wp_pattern_category":{"description":"The terms assigned to the post in the wp_pattern_category taxonomy.","type":"array","items":{"type":"integer"},"required":false}}}]},"\/wp\/v2\/blocks\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The ID for the parent of the autosave.","type":"integer","required":false},"id":{"description":"The ID for the autosave.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The id of a template","type":"string","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","relevance","slug","include_slugs","title"],"required":false}}}]},"\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The id of a template","type":"string","required":false},"id":{"description":"Unique identifier for the revision.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"parent":{"description":"The id of a template","type":"string","required":false},"id":{"description":"Unique identifier for the revision.","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"Required to be true, as revisions do not support trashing.","required":false}}}]},"\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"The id of a template","type":"string","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"id":{"description":"The id of a template","type":"string","required":false},"slug":{"description":"Unique slug identifying the template.","type":"string","minLength":1,"pattern":"[a-zA-Z0-9_\\%-]+","required":false},"theme":{"description":"Theme identifier for the template.","type":"string","required":false},"type":{"description":"Type of template.","type":"string","required":false},"content":{"description":"Content of template.","type":["object","string"],"properties":{"raw":{"description":"Content for the template, as it exists in the database.","type":"string","context":["view","edit"]},"block_version":{"description":"Version of the content block format used by the template.","type":"integer","context":["edit"],"readonly":true}},"required":false},"title":{"description":"Title of template.","type":["object","string"],"properties":{"raw":{"description":"Title for the template, as it exists in the database.","type":"string","context":["view","edit","embed"]},"rendered":{"description":"HTML title for the template, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"description":{"description":"Description of template.","type":"string","required":false},"status":{"description":"Status of template.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"author":{"description":"The ID for the author of the template.","type":"integer","required":false}}}]},"\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The id of a template","type":"string","required":false},"id":{"description":"The ID for the autosave.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/templates":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"wp_id":{"description":"Limit to the specified post id.","type":"integer","required":false},"area":{"description":"Limit to the specified template part area.","type":"string","required":false},"post_type":{"description":"Post type to get the templates for.","type":"string","required":false}}},{"methods":["POST"],"args":{"slug":{"description":"Unique slug identifying the template.","type":"string","minLength":1,"pattern":"[a-zA-Z0-9_\\%-]+","required":true},"theme":{"description":"Theme identifier for the template.","type":"string","required":false},"type":{"description":"Type of template.","type":"string","required":false},"content":{"default":"","description":"Content of template.","type":["object","string"],"properties":{"raw":{"description":"Content for the template, as it exists in the database.","type":"string","context":["view","edit"]},"block_version":{"description":"Version of the content block format used by the template.","type":"integer","context":["edit"],"readonly":true}},"required":false},"title":{"default":"","description":"Title of template.","type":["object","string"],"properties":{"raw":{"description":"Title for the template, as it exists in the database.","type":"string","context":["view","edit","embed"]},"rendered":{"description":"HTML title for the template, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"description":{"default":"","description":"Description of template.","type":"string","required":false},"status":{"default":"publish","description":"Status of template.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"author":{"description":"The ID for the author of the template.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/templates"}]}},"\/wp\/v2\/templates\/lookup":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"slug":{"description":"The slug of the template to get the fallback for","type":"string","required":true},"is_custom":{"description":"Indicates if a template is custom or part of the template hierarchy","type":"boolean","required":false},"template_prefix":{"description":"The template prefix for the created template. This is used to extract the main template type, e.g. in `taxonomy-books` extracts the `taxonomy`","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/templates\/lookup"}]}},"\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"The id of a template","type":"string","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"The id of a template","type":"string","required":false},"slug":{"description":"Unique slug identifying the template.","type":"string","minLength":1,"pattern":"[a-zA-Z0-9_\\%-]+","required":false},"theme":{"description":"Theme identifier for the template.","type":"string","required":false},"type":{"description":"Type of template.","type":"string","required":false},"content":{"description":"Content of template.","type":["object","string"],"properties":{"raw":{"description":"Content for the template, as it exists in the database.","type":"string","context":["view","edit"]},"block_version":{"description":"Version of the content block format used by the template.","type":"integer","context":["edit"],"readonly":true}},"required":false},"title":{"description":"Title of template.","type":["object","string"],"properties":{"raw":{"description":"Title for the template, as it exists in the database.","type":"string","context":["view","edit","embed"]},"rendered":{"description":"HTML title for the template, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"description":{"description":"Description of template.","type":"string","required":false},"status":{"description":"Status of template.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"author":{"description":"The ID for the author of the template.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"The id of a template","type":"string","required":false},"force":{"type":"boolean","default":false,"description":"Whether to bypass Trash and force deletion.","required":false}}}]},"\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The id of a template","type":"string","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","relevance","slug","include_slugs","title"],"required":false}}}]},"\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The id of a template","type":"string","required":false},"id":{"description":"Unique identifier for the revision.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"parent":{"description":"The id of a template","type":"string","required":false},"id":{"description":"Unique identifier for the revision.","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"Required to be true, as revisions do not support trashing.","required":false}}}]},"\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"The id of a template","type":"string","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"id":{"description":"The id of a template","type":"string","required":false},"slug":{"description":"Unique slug identifying the template.","type":"string","minLength":1,"pattern":"[a-zA-Z0-9_\\%-]+","required":false},"theme":{"description":"Theme identifier for the template.","type":"string","required":false},"type":{"description":"Type of template.","type":"string","required":false},"content":{"description":"Content of template.","type":["object","string"],"properties":{"raw":{"description":"Content for the template, as it exists in the database.","type":"string","context":["view","edit"]},"block_version":{"description":"Version of the content block format used by the template.","type":"integer","context":["edit"],"readonly":true}},"required":false},"title":{"description":"Title of template.","type":["object","string"],"properties":{"raw":{"description":"Title for the template, as it exists in the database.","type":"string","context":["view","edit","embed"]},"rendered":{"description":"HTML title for the template, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"description":{"description":"Description of template.","type":"string","required":false},"status":{"description":"Status of template.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"author":{"description":"The ID for the author of the template.","type":"integer","required":false},"area":{"description":"Where the template part is intended for use (header, footer, etc.)","type":"string","required":false}}}]},"\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The id of a template","type":"string","required":false},"id":{"description":"The ID for the autosave.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/template-parts":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"wp_id":{"description":"Limit to the specified post id.","type":"integer","required":false},"area":{"description":"Limit to the specified template part area.","type":"string","required":false},"post_type":{"description":"Post type to get the templates for.","type":"string","required":false}}},{"methods":["POST"],"args":{"slug":{"description":"Unique slug identifying the template.","type":"string","minLength":1,"pattern":"[a-zA-Z0-9_\\%-]+","required":true},"theme":{"description":"Theme identifier for the template.","type":"string","required":false},"type":{"description":"Type of template.","type":"string","required":false},"content":{"default":"","description":"Content of template.","type":["object","string"],"properties":{"raw":{"description":"Content for the template, as it exists in the database.","type":"string","context":["view","edit"]},"block_version":{"description":"Version of the content block format used by the template.","type":"integer","context":["edit"],"readonly":true}},"required":false},"title":{"default":"","description":"Title of template.","type":["object","string"],"properties":{"raw":{"description":"Title for the template, as it exists in the database.","type":"string","context":["view","edit","embed"]},"rendered":{"description":"HTML title for the template, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"description":{"default":"","description":"Description of template.","type":"string","required":false},"status":{"default":"publish","description":"Status of template.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"author":{"description":"The ID for the author of the template.","type":"integer","required":false},"area":{"description":"Where the template part is intended for use (header, footer, etc.)","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/template-parts"}]}},"\/wp\/v2\/template-parts\/lookup":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"slug":{"description":"The slug of the template to get the fallback for","type":"string","required":true},"is_custom":{"description":"Indicates if a template is custom or part of the template hierarchy","type":"boolean","required":false},"template_prefix":{"description":"The template prefix for the created template. This is used to extract the main template type, e.g. in `taxonomy-books` extracts the `taxonomy`","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/template-parts\/lookup"}]}},"\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"The id of a template","type":"string","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"The id of a template","type":"string","required":false},"slug":{"description":"Unique slug identifying the template.","type":"string","minLength":1,"pattern":"[a-zA-Z0-9_\\%-]+","required":false},"theme":{"description":"Theme identifier for the template.","type":"string","required":false},"type":{"description":"Type of template.","type":"string","required":false},"content":{"description":"Content of template.","type":["object","string"],"properties":{"raw":{"description":"Content for the template, as it exists in the database.","type":"string","context":["view","edit"]},"block_version":{"description":"Version of the content block format used by the template.","type":"integer","context":["edit"],"readonly":true}},"required":false},"title":{"description":"Title of template.","type":["object","string"],"properties":{"raw":{"description":"Title for the template, as it exists in the database.","type":"string","context":["view","edit","embed"]},"rendered":{"description":"HTML title for the template, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"description":{"description":"Description of template.","type":"string","required":false},"status":{"description":"Status of template.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"author":{"description":"The ID for the author of the template.","type":"integer","required":false},"area":{"description":"Where the template part is intended for use (header, footer, etc.)","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"The id of a template","type":"string","required":false},"force":{"type":"boolean","default":false,"description":"Whether to bypass Trash and force deletion.","required":false}}}]},"\/wp\/v2\/global-styles\/(?P[\\d]+)\/revisions":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The ID for the parent of the revision.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","minimum":1,"maximum":100,"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false}}}]},"\/wp\/v2\/global-styles\/(?P[\\d]+)\/revisions\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The ID for the parent of the global styles revision.","type":"integer","required":false},"id":{"description":"Unique identifier for the global styles revision.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/global-styles\/themes\/(?P[\\\/\\s%\\w\\.\\(\\)\\[\\]\\@_\\-]+)\/variations":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":false},"args":{"stylesheet":{"description":"The theme identifier","type":"string","required":false}}}]},"\/wp\/v2\/global-styles\/themes\/(?P[^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":false},"args":{"stylesheet":{"description":"The theme identifier","type":"string","required":false}}}]},"\/wp\/v2\/global-styles\/(?P[\\\/\\w-]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":false},"args":{"id":{"description":"The id of a template","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":false},"args":{"styles":{"description":"Global styles.","type":["object"],"required":false},"settings":{"description":"Global settings.","type":["object"],"required":false},"title":{"description":"Title of the global styles variation.","type":["object","string"],"properties":{"raw":{"description":"Title for the global styles variation, as it exists in the database.","type":"string","context":["view","edit","embed"]},"rendered":{"description":"HTML title for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false}}}]},"\/wp\/v2\/navigation":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to posts published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to posts modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to posts published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to posts modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by post attribute.","type":"string","default":"date","enum":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title"],"required":false},"search_columns":{"default":[],"description":"Array of column names to be searched.","type":"array","items":{"enum":["post_title","post_content","post_excerpt"],"type":"string"},"required":false},"slug":{"description":"Limit result set to posts with one or more specific slugs.","type":"array","items":{"type":"string"},"required":false},"status":{"default":"publish","description":"Limit result set to posts assigned one or more statuses.","type":"array","items":{"enum":["publish","future","draft","pending","private","trash","auto-draft","inherit","request-pending","request-confirmed","request-failed","request-completed","spam","wpzoom-hidden","any"],"type":"string"},"required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"date":{"description":"The date the post was published, in the site's timezone.","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"The date the post was published, as GMT.","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"An alphanumeric identifier for the post unique to its type.","type":"string","required":false},"status":{"description":"A named status for the post.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"password":{"description":"A password to protect access to the content and excerpt.","type":"string","required":false},"title":{"description":"The title for the post.","type":"object","properties":{"raw":{"description":"Title for the post, as it exists in the database.","type":"string","context":["edit","embed"]},"rendered":{"description":"HTML title for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"The content for the post.","type":"object","properties":{"raw":{"description":"Content for the post, as it exists in the database.","type":"string","context":["edit","embed"]},"rendered":{"description":"HTML content for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true},"block_version":{"description":"Version of the content block format used by the post.","type":"integer","context":["edit","embed"],"readonly":true},"protected":{"description":"Whether the content is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"template":{"description":"The theme file to use to display the post.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/navigation"}]}},"\/wp\/v2\/navigation\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"password":{"description":"The password for the post if it is password protected.","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"date":{"description":"The date the post was published, in the site's timezone.","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"The date the post was published, as GMT.","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"An alphanumeric identifier for the post unique to its type.","type":"string","required":false},"status":{"description":"A named status for the post.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"password":{"description":"A password to protect access to the content and excerpt.","type":"string","required":false},"title":{"description":"The title for the post.","type":"object","properties":{"raw":{"description":"Title for the post, as it exists in the database.","type":"string","context":["edit","embed"]},"rendered":{"description":"HTML title for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"The content for the post.","type":"object","properties":{"raw":{"description":"Content for the post, as it exists in the database.","type":"string","context":["edit","embed"]},"rendered":{"description":"HTML content for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true},"block_version":{"description":"Version of the content block format used by the post.","type":"integer","context":["edit","embed"],"readonly":true},"protected":{"description":"Whether the content is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"template":{"description":"The theme file to use to display the post.","type":"string","required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"Whether to bypass Trash and force deletion.","required":false}}}]},"\/wp\/v2\/navigation\/(?P[\\d]+)\/revisions":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The ID for the parent of the revision.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","relevance","slug","include_slugs","title"],"required":false}}}]},"\/wp\/v2\/navigation\/(?P[\\d]+)\/revisions\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The ID for the parent of the revision.","type":"integer","required":false},"id":{"description":"Unique identifier for the revision.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"parent":{"description":"The ID for the parent of the revision.","type":"integer","required":false},"id":{"description":"Unique identifier for the revision.","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"Required to be true, as revisions do not support trashing.","required":false}}}]},"\/wp\/v2\/navigation\/(?P[\\d]+)\/autosaves":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The ID for the parent of the autosave.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"parent":{"description":"The ID for the parent of the autosave.","type":"integer","required":false},"date":{"description":"The date the post was published, in the site's timezone.","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"The date the post was published, as GMT.","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"An alphanumeric identifier for the post unique to its type.","type":"string","required":false},"status":{"description":"A named status for the post.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"password":{"description":"A password to protect access to the content and excerpt.","type":"string","required":false},"title":{"description":"The title for the post.","type":"object","properties":{"raw":{"description":"Title for the post, as it exists in the database.","type":"string","context":["edit","embed"]},"rendered":{"description":"HTML title for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"The content for the post.","type":"object","properties":{"raw":{"description":"Content for the post, as it exists in the database.","type":"string","context":["edit","embed"]},"rendered":{"description":"HTML content for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true},"block_version":{"description":"Version of the content block format used by the post.","type":"integer","context":["edit","embed"],"readonly":true},"protected":{"description":"Whether the content is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"template":{"description":"The theme file to use to display the post.","type":"string","required":false}}}]},"\/wp\/v2\/navigation\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The ID for the parent of the autosave.","type":"integer","required":false},"id":{"description":"The ID for the autosave.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/font-families":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by post attribute.","type":"string","default":"id","enum":["id","include"],"required":false},"slug":{"description":"Limit result set to posts with one or more specific slugs.","type":"array","items":{"type":"string"},"required":false}}},{"methods":["POST"],"args":{"theme_json_version":{"description":"Version of the theme.json schema used for the typography settings.","type":"integer","default":3,"minimum":2,"maximum":3,"required":false},"font_family_settings":{"description":"font-family declaration in theme.json format, encoded as a string.","type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/font-families"}]}},"\/wp\/v2\/font-families\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"theme_json_version":{"description":"Version of the theme.json schema used for the typography settings.","type":"integer","default":3,"minimum":2,"maximum":3,"required":false},"font_family_settings":{"description":"font-family declaration in theme.json format, encoded as a string.","type":"string","required":true}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"Whether to bypass Trash and force deletion.","required":false}}}]},"\/wp\/v2\/font-families\/(?P[\\d]+)\/font-faces":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"font_family_id":{"description":"The ID for the parent font family of the font face.","type":"integer","required":true},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by post attribute.","type":"string","default":"id","enum":["id","include"],"required":false}}},{"methods":["POST"],"args":{"font_family_id":{"description":"The ID for the parent font family of the font face.","type":"integer","required":true},"theme_json_version":{"description":"Version of the theme.json schema used for the typography settings.","type":"integer","default":3,"minimum":2,"maximum":3,"required":false},"font_face_settings":{"description":"font-face declaration in theme.json format, encoded as a string.","type":"string","required":true}}}]},"\/wp\/v2\/font-families\/(?P[\\d]+)\/font-faces\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"font_family_id":{"description":"The ID for the parent font family of the font face.","type":"integer","required":true},"id":{"description":"Unique identifier for the font face.","type":"integer","required":true},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"font_family_id":{"description":"The ID for the parent font family of the font face.","type":"integer","required":true},"id":{"description":"Unique identifier for the font face.","type":"integer","required":true},"force":{"type":"boolean","default":false,"description":"Whether to bypass Trash and force deletion.","required":false}}}]},"\/wp\/v2\/wpzf-form":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to posts published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to posts modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to posts published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to posts modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by post attribute.","type":"string","default":"date","enum":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title"],"required":false},"search_columns":{"default":[],"description":"Array of column names to be searched.","type":"array","items":{"enum":["post_title","post_content","post_excerpt"],"type":"string"},"required":false},"slug":{"description":"Limit result set to posts with one or more specific slugs.","type":"array","items":{"type":"string"},"required":false},"status":{"default":"publish","description":"Limit result set to posts assigned one or more statuses.","type":"array","items":{"enum":["publish","future","draft","pending","private","trash","auto-draft","inherit","request-pending","request-confirmed","request-failed","request-completed","spam","wpzoom-hidden","any"],"type":"string"},"required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"date":{"description":"The date the post was published, in the site's timezone.","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"The date the post was published, as GMT.","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"An alphanumeric identifier for the post unique to its type.","type":"string","required":false},"status":{"description":"A named status for the post.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"password":{"description":"A password to protect access to the content and excerpt.","type":"string","required":false},"title":{"description":"The title for the post.","type":"object","properties":{"raw":{"description":"Title for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML title for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"The content for the post.","type":"object","properties":{"raw":{"description":"Content for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML content for the post, transformed for display.","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"Version of the content block format used by the post.","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"Whether the content is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"meta":{"description":"Meta fields.","type":"object","properties":{"_form_method":{"type":"string","description":"","default":"email"},"_form_email":{"type":"string","description":"","default":""}},"required":false},"template":{"description":"The theme file to use to display the post.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/wpzf-form"}]}},"\/wp\/v2\/wpzf-form\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"password":{"description":"The password for the post if it is password protected.","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"date":{"description":"The date the post was published, in the site's timezone.","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"The date the post was published, as GMT.","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"An alphanumeric identifier for the post unique to its type.","type":"string","required":false},"status":{"description":"A named status for the post.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"password":{"description":"A password to protect access to the content and excerpt.","type":"string","required":false},"title":{"description":"The title for the post.","type":"object","properties":{"raw":{"description":"Title for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML title for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"The content for the post.","type":"object","properties":{"raw":{"description":"Content for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML content for the post, transformed for display.","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"Version of the content block format used by the post.","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"Whether the content is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"meta":{"description":"Meta fields.","type":"object","properties":{"_form_method":{"type":"string","description":"","default":"email"},"_form_email":{"type":"string","description":"","default":""}},"required":false},"template":{"description":"The theme file to use to display the post.","type":"string","required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the post.","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"Whether to bypass Trash and force deletion.","required":false}}}]},"\/wp\/v2\/wpzf-form\/(?P[\\d]+)\/autosaves":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The ID for the parent of the autosave.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"parent":{"description":"The ID for the parent of the autosave.","type":"integer","required":false},"date":{"description":"The date the post was published, in the site's timezone.","type":["string","null"],"format":"date-time","required":false},"date_gmt":{"description":"The date the post was published, as GMT.","type":["string","null"],"format":"date-time","required":false},"slug":{"description":"An alphanumeric identifier for the post unique to its type.","type":"string","required":false},"status":{"description":"A named status for the post.","type":"string","enum":["publish","future","draft","pending","private","spam"],"required":false},"password":{"description":"A password to protect access to the content and excerpt.","type":"string","required":false},"title":{"description":"The title for the post.","type":"object","properties":{"raw":{"description":"Title for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML title for the post, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"content":{"description":"The content for the post.","type":"object","properties":{"raw":{"description":"Content for the post, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML content for the post, transformed for display.","type":"string","context":["view","edit"],"readonly":true},"block_version":{"description":"Version of the content block format used by the post.","type":"integer","context":["edit"],"readonly":true},"protected":{"description":"Whether the content is protected with a password.","type":"boolean","context":["view","edit","embed"],"readonly":true}},"required":false},"meta":{"description":"Meta fields.","type":"object","properties":{"_form_method":{"type":"string","description":"","default":"email"},"_form_email":{"type":"string","description":"","default":""}},"required":false},"template":{"description":"The theme file to use to display the post.","type":"string","required":false}}}]},"\/wp\/v2\/wpzf-form\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"description":"The ID for the parent of the autosave.","type":"integer","required":false},"id":{"description":"The ID for the autosave.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/types":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/types"}]}},"\/wp\/v2\/types\/(?P[\\w-]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"type":{"description":"An alphanumeric identifier for the post type.","type":"string","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/statuses":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/statuses"}]}},"\/wp\/v2\/statuses\/(?P[\\w-]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"status":{"description":"An alphanumeric identifier for the status.","type":"string","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/taxonomies":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"type":{"description":"Limit results to taxonomies associated with a specific post type.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/taxonomies"}]}},"\/wp\/v2\/taxonomies\/(?P[\\w-]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"taxonomy":{"description":"An alphanumeric identifier for the taxonomy.","type":"string","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/categories":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by term attribute.","type":"string","default":"name","enum":["id","include","name","slug","include_slugs","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide terms not assigned to any posts.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to terms assigned to a specific parent.","type":"integer","required":false},"post":{"description":"Limit result set to terms assigned to a specific post.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to terms with one or more specific slugs.","type":"array","items":{"type":"string"},"required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"description":{"description":"HTML description of the term.","type":"string","required":false},"name":{"description":"HTML title for the term.","type":"string","required":true},"slug":{"description":"An alphanumeric identifier for the term unique to its type.","type":"string","required":false},"parent":{"description":"The parent term ID.","type":"integer","required":false},"meta":{"description":"Meta fields.","type":"object","properties":[],"required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/categories"}]}},"\/wp\/v2\/categories\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the term.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the term.","type":"integer","required":false},"description":{"description":"HTML description of the term.","type":"string","required":false},"name":{"description":"HTML title for the term.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the term unique to its type.","type":"string","required":false},"parent":{"description":"The parent term ID.","type":"integer","required":false},"meta":{"description":"Meta fields.","type":"object","properties":[],"required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the term.","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"Required to be true, as terms do not support trashing.","required":false}}}]},"\/wp\/v2\/tags":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by term attribute.","type":"string","default":"name","enum":["id","include","name","slug","include_slugs","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide terms not assigned to any posts.","type":"boolean","default":false,"required":false},"post":{"description":"Limit result set to terms assigned to a specific post.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to terms with one or more specific slugs.","type":"array","items":{"type":"string"},"required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"description":{"description":"HTML description of the term.","type":"string","required":false},"name":{"description":"HTML title for the term.","type":"string","required":true},"slug":{"description":"An alphanumeric identifier for the term unique to its type.","type":"string","required":false},"meta":{"description":"Meta fields.","type":"object","properties":[],"required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/tags"}]}},"\/wp\/v2\/tags\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the term.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the term.","type":"integer","required":false},"description":{"description":"HTML description of the term.","type":"string","required":false},"name":{"description":"HTML title for the term.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the term unique to its type.","type":"string","required":false},"meta":{"description":"Meta fields.","type":"object","properties":[],"required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the term.","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"Required to be true, as terms do not support trashing.","required":false}}}]},"\/wp\/v2\/menus":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by term attribute.","type":"string","default":"name","enum":["id","include","name","slug","include_slugs","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide terms not assigned to any posts.","type":"boolean","default":false,"required":false},"post":{"description":"Limit result set to terms assigned to a specific post.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to terms with one or more specific slugs.","type":"array","items":{"type":"string"},"required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"description":{"description":"HTML description of the term.","type":"string","required":false},"name":{"description":"HTML title for the term.","type":"string","required":true},"slug":{"description":"An alphanumeric identifier for the term unique to its type.","type":"string","required":false},"meta":{"description":"Meta fields.","type":"object","properties":[],"required":false},"locations":{"description":"The locations assigned to the menu.","type":"array","items":{"type":"string"},"required":false},"auto_add":{"description":"Whether to automatically add top level pages to this menu.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/menus"}]}},"\/wp\/v2\/menus\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the term.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the term.","type":"integer","required":false},"description":{"description":"HTML description of the term.","type":"string","required":false},"name":{"description":"HTML title for the term.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the term unique to its type.","type":"string","required":false},"meta":{"description":"Meta fields.","type":"object","properties":[],"required":false},"locations":{"description":"The locations assigned to the menu.","type":"array","items":{"type":"string"},"required":false},"auto_add":{"description":"Whether to automatically add top level pages to this menu.","type":"boolean","required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the term.","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"Required to be true, as terms do not support trashing.","required":false}}}]},"\/wp\/v2\/wp_pattern_category":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by term attribute.","type":"string","default":"name","enum":["id","include","name","slug","include_slugs","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide terms not assigned to any posts.","type":"boolean","default":false,"required":false},"post":{"description":"Limit result set to terms assigned to a specific post.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to terms with one or more specific slugs.","type":"array","items":{"type":"string"},"required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"description":{"description":"HTML description of the term.","type":"string","required":false},"name":{"description":"HTML title for the term.","type":"string","required":true},"slug":{"description":"An alphanumeric identifier for the term unique to its type.","type":"string","required":false},"meta":{"description":"Meta fields.","type":"object","properties":[],"required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/wp_pattern_category"}]}},"\/wp\/v2\/wp_pattern_category\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the term.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the term.","type":"integer","required":false},"description":{"description":"HTML description of the term.","type":"string","required":false},"name":{"description":"HTML title for the term.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the term unique to its type.","type":"string","required":false},"meta":{"description":"Meta fields.","type":"object","properties":[],"required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the term.","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"Required to be true, as terms do not support trashing.","required":false}}}]},"\/wp\/v2\/users":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"default":"asc","description":"Order sort attribute ascending or descending.","enum":["asc","desc"],"type":"string","required":false},"orderby":{"default":"name","description":"Sort collection by user attribute.","enum":["id","include","name","registered_date","slug","include_slugs","email","url"],"type":"string","required":false},"slug":{"description":"Limit result set to users with one or more specific slugs.","type":"array","items":{"type":"string"},"required":false},"roles":{"description":"Limit result set to users matching at least one specific role provided. Accepts csv list or single role.","type":"array","items":{"type":"string"},"required":false},"capabilities":{"description":"Limit result set to users matching at least one specific capability provided. Accepts csv list or single capability.","type":"array","items":{"type":"string"},"required":false},"who":{"description":"Limit result set to users who are considered authors.","type":"string","enum":["authors"],"required":false},"has_published_posts":{"description":"Limit result set to users who have published posts.","type":["boolean","array"],"items":{"type":"string","enum":{"post":"post","page":"page","attachment":"attachment","nav_menu_item":"nav_menu_item","wp_block":"wp_block","wp_template":"wp_template","wp_template_part":"wp_template_part","wp_global_styles":"wp_global_styles","wp_navigation":"wp_navigation","wp_font_family":"wp_font_family","wp_font_face":"wp_font_face","wpzf-form":"wpzf-form"}},"required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"username":{"description":"Login name for the user.","type":"string","required":true},"name":{"description":"Display name for the user.","type":"string","required":false},"first_name":{"description":"First name for the user.","type":"string","required":false},"last_name":{"description":"Last name for the user.","type":"string","required":false},"email":{"description":"The email address for the user.","type":"string","format":"email","required":true},"url":{"description":"URL of the user.","type":"string","format":"uri","required":false},"description":{"description":"Description of the user.","type":"string","required":false},"locale":{"description":"Locale for the user.","type":"string","enum":["","en_US"],"required":false},"nickname":{"description":"The nickname for the user.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the user.","type":"string","required":false},"roles":{"description":"Roles assigned to the user.","type":"array","items":{"type":"string"},"required":false},"password":{"description":"Password for the user (never included).","type":"string","required":true},"meta":{"description":"Meta fields.","type":"object","properties":{"persisted_preferences":{"type":"object","description":"","default":[],"context":["edit"],"properties":{"_modified":{"description":"The date and time the preferences were updated.","type":"string","format":"date-time","readonly":false}},"additionalProperties":true}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/users"}]}},"\/wp\/v2\/users\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the user.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the user.","type":"integer","required":false},"username":{"description":"Login name for the user.","type":"string","required":false},"name":{"description":"Display name for the user.","type":"string","required":false},"first_name":{"description":"First name for the user.","type":"string","required":false},"last_name":{"description":"Last name for the user.","type":"string","required":false},"email":{"description":"The email address for the user.","type":"string","format":"email","required":false},"url":{"description":"URL of the user.","type":"string","format":"uri","required":false},"description":{"description":"Description of the user.","type":"string","required":false},"locale":{"description":"Locale for the user.","type":"string","enum":["","en_US"],"required":false},"nickname":{"description":"The nickname for the user.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the user.","type":"string","required":false},"roles":{"description":"Roles assigned to the user.","type":"array","items":{"type":"string"},"required":false},"password":{"description":"Password for the user (never included).","type":"string","required":false},"meta":{"description":"Meta fields.","type":"object","properties":{"persisted_preferences":{"type":"object","description":"","default":[],"context":["edit"],"properties":{"_modified":{"description":"The date and time the preferences were updated.","type":"string","format":"date-time","readonly":false}},"additionalProperties":true}},"required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the user.","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"Required to be true, as users do not support trashing.","required":false},"reassign":{"type":"integer","description":"Reassign the deleted user's posts and links to this user ID.","required":true}}}]},"\/wp\/v2\/users\/me":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"username":{"description":"Login name for the user.","type":"string","required":false},"name":{"description":"Display name for the user.","type":"string","required":false},"first_name":{"description":"First name for the user.","type":"string","required":false},"last_name":{"description":"Last name for the user.","type":"string","required":false},"email":{"description":"The email address for the user.","type":"string","format":"email","required":false},"url":{"description":"URL of the user.","type":"string","format":"uri","required":false},"description":{"description":"Description of the user.","type":"string","required":false},"locale":{"description":"Locale for the user.","type":"string","enum":["","en_US"],"required":false},"nickname":{"description":"The nickname for the user.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the user.","type":"string","required":false},"roles":{"description":"Roles assigned to the user.","type":"array","items":{"type":"string"},"required":false},"password":{"description":"Password for the user (never included).","type":"string","required":false},"meta":{"description":"Meta fields.","type":"object","properties":{"persisted_preferences":{"type":"object","description":"","default":[],"context":["edit"],"properties":{"_modified":{"description":"The date and time the preferences were updated.","type":"string","format":"date-time","readonly":false}},"additionalProperties":true}},"required":false}}},{"methods":["DELETE"],"args":{"force":{"type":"boolean","default":false,"description":"Required to be true, as users do not support trashing.","required":false},"reassign":{"type":"integer","description":"Reassign the deleted user's posts and links to this user ID.","required":true}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/users\/me"}]}},"\/wp\/v2\/users\/(?P(?:[\\d]+|me))\/application-passwords":{"namespace":"wp\/v2","methods":["GET","POST","DELETE"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"app_id":{"description":"A UUID provided by the application to uniquely identify it. It is recommended to use an UUID v5 with the URL or DNS namespace.","type":"string","format":"uuid","required":false},"name":{"description":"The name of the application password.","type":"string","minLength":1,"pattern":".*\\S.*","required":true}}},{"methods":["DELETE"],"args":[]}]},"\/wp\/v2\/users\/(?P(?:[\\d]+|me))\/application-passwords\/introspect":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/users\/(?P(?:[\\d]+|me))\/application-passwords\/(?P[\\w\\-]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"app_id":{"description":"A UUID provided by the application to uniquely identify it. It is recommended to use an UUID v5 with the URL or DNS namespace.","type":"string","format":"uuid","required":false},"name":{"description":"The name of the application password.","type":"string","minLength":1,"pattern":".*\\S.*","required":false}}},{"methods":["DELETE"],"args":[]}]},"\/wp\/v2\/comments":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to comments published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"author":{"description":"Limit result set to comments assigned to specific user IDs. Requires authorization.","type":"array","items":{"type":"integer"},"required":false},"author_exclude":{"description":"Ensure result set excludes comments assigned to specific user IDs. Requires authorization.","type":"array","items":{"type":"integer"},"required":false},"author_email":{"default":null,"description":"Limit result set to that from a specific author email. Requires authorization.","format":"email","type":"string","required":false},"before":{"description":"Limit response to comments published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by comment attribute.","type":"string","default":"date_gmt","enum":["date","date_gmt","id","include","post","parent","type"],"required":false},"parent":{"default":[],"description":"Limit result set to comments of specific parent IDs.","type":"array","items":{"type":"integer"},"required":false},"parent_exclude":{"default":[],"description":"Ensure result set excludes specific parent IDs.","type":"array","items":{"type":"integer"},"required":false},"post":{"default":[],"description":"Limit result set to comments assigned to specific post IDs.","type":"array","items":{"type":"integer"},"required":false},"status":{"default":"approve","description":"Limit result set to comments assigned a specific status. Requires authorization.","type":"string","required":false},"type":{"default":"comment","description":"Limit result set to comments assigned a specific type. Requires authorization.","type":"string","required":false},"password":{"description":"The password for the post if it is password protected.","type":"string","required":false}}},{"methods":["POST"],"args":{"author":{"description":"The ID of the user object, if author was a user.","type":"integer","required":false},"author_email":{"description":"Email address for the comment author.","type":"string","format":"email","required":false},"author_ip":{"description":"IP address for the comment author.","type":"string","format":"ip","required":false},"author_name":{"description":"Display name for the comment author.","type":"string","required":false},"author_url":{"description":"URL for the comment author.","type":"string","format":"uri","required":false},"author_user_agent":{"description":"User agent for the comment author.","type":"string","required":false},"content":{"description":"The content for the comment.","type":"object","properties":{"raw":{"description":"Content for the comment, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML content for the comment, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"date":{"description":"The date the comment was published, in the site's timezone.","type":"string","format":"date-time","required":false},"date_gmt":{"description":"The date the comment was published, as GMT.","type":"string","format":"date-time","required":false},"parent":{"default":0,"description":"The ID for the parent of the comment.","type":"integer","required":false},"post":{"default":0,"description":"The ID of the associated post object.","type":"integer","required":false},"status":{"description":"State of the comment.","type":"string","required":false},"meta":{"description":"Meta fields.","type":"object","properties":[],"required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/comments"}]}},"\/wp\/v2\/comments\/(?P[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the comment.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"password":{"description":"The password for the parent post of the comment (if the post is password protected).","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the comment.","type":"integer","required":false},"author":{"description":"The ID of the user object, if author was a user.","type":"integer","required":false},"author_email":{"description":"Email address for the comment author.","type":"string","format":"email","required":false},"author_ip":{"description":"IP address for the comment author.","type":"string","format":"ip","required":false},"author_name":{"description":"Display name for the comment author.","type":"string","required":false},"author_url":{"description":"URL for the comment author.","type":"string","format":"uri","required":false},"author_user_agent":{"description":"User agent for the comment author.","type":"string","required":false},"content":{"description":"The content for the comment.","type":"object","properties":{"raw":{"description":"Content for the comment, as it exists in the database.","type":"string","context":["edit"]},"rendered":{"description":"HTML content for the comment, transformed for display.","type":"string","context":["view","edit","embed"],"readonly":true}},"required":false},"date":{"description":"The date the comment was published, in the site's timezone.","type":"string","format":"date-time","required":false},"date_gmt":{"description":"The date the comment was published, as GMT.","type":"string","format":"date-time","required":false},"parent":{"description":"The ID for the parent of the comment.","type":"integer","required":false},"post":{"description":"The ID of the associated post object.","type":"integer","required":false},"status":{"description":"State of the comment.","type":"string","required":false},"meta":{"description":"Meta fields.","type":"object","properties":[],"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the comment.","type":"integer","required":false},"force":{"type":"boolean","default":false,"description":"Whether to bypass Trash and force deletion.","required":false},"password":{"description":"The password for the parent post of the comment (if the post is password protected).","type":"string","required":false}}}]},"\/wp\/v2\/search":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"type":{"default":"post","description":"Limit results to items of an object type.","type":"string","enum":["post","term","post-format"],"required":false},"subtype":{"default":"any","description":"Limit results to items of one or more object subtypes.","type":"array","items":{"enum":["post","page","wpzf-form","category","post_tag","any"],"type":"string"},"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/search"}]}},"\/wp\/v2\/block-renderer\/(?P[a-z0-9-]+\/[a-z0-9-]+)":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET","POST"],"args":{"name":{"description":"Unique registered name for the block.","type":"string","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["edit"],"default":"view","required":false},"attributes":{"description":"Attributes for the block.","type":"object","default":[],"required":false},"post_id":{"description":"ID of the post context.","type":"integer","required":false}}}]},"\/wp\/v2\/block-types":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"namespace":{"description":"Block namespace.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/block-types"}]}},"\/wp\/v2\/block-types\/(?P[a-zA-Z0-9_-]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"namespace":{"description":"Block namespace.","type":"string","required":false}}}]},"\/wp\/v2\/block-types\/(?P[a-zA-Z0-9_-]+)\/(?P[a-zA-Z0-9_-]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"name":{"description":"Block name.","type":"string","required":false},"namespace":{"description":"Block namespace.","type":"string","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/settings":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"title":{"title":"Title","description":"Site title.","type":"string","required":false},"description":{"title":"Tagline","description":"Site tagline.","type":"string","required":false},"url":{"title":"","description":"Site URL.","type":"string","format":"uri","required":false},"email":{"title":"","description":"This address is used for admin purposes, like new user notification.","type":"string","format":"email","required":false},"timezone":{"title":"","description":"A city in the same timezone as you.","type":"string","required":false},"date_format":{"title":"","description":"A date format for all date strings.","type":"string","required":false},"time_format":{"title":"","description":"A time format for all time strings.","type":"string","required":false},"start_of_week":{"title":"","description":"A day number of the week that the week should start on.","type":"integer","required":false},"language":{"title":"","description":"WordPress locale code.","type":"string","required":false},"use_smilies":{"title":"","description":"Convert emoticons like :-) and :-P to graphics on display.","type":"boolean","required":false},"default_category":{"title":"","description":"Default post category.","type":"integer","required":false},"default_post_format":{"title":"","description":"Default post format.","type":"string","required":false},"posts_per_page":{"title":"Maximum posts per page","description":"Blog pages show at most.","type":"integer","required":false},"show_on_front":{"title":"Show on front","description":"What to show on the front page","type":"string","required":false},"page_on_front":{"title":"Page on front","description":"The ID of the page that should be displayed on the front page","type":"integer","required":false},"page_for_posts":{"title":"","description":"The ID of the page that should display the latest posts","type":"integer","required":false},"default_ping_status":{"title":"","description":"Allow link notifications from other blogs (pingbacks and trackbacks) on new articles.","type":"string","enum":["open","closed"],"required":false},"default_comment_status":{"title":"Allow comments on new posts","description":"Allow people to submit comments on new posts.","type":"string","enum":["open","closed"],"required":false},"site_logo":{"title":"Logo","description":"Site logo.","type":"integer","required":false},"site_icon":{"title":"Icon","description":"Site icon.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/settings"}]}},"\/wp\/v2\/themes":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"status":{"description":"Limit result set to themes assigned one or more statuses.","type":"array","items":{"enum":["active","inactive"],"type":"string"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/themes"}]}},"\/wp\/v2\/themes\/(?P[^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"stylesheet":{"description":"The theme's stylesheet. This uniquely identifies the theme.","type":"string","required":false}}}]},"\/wp\/v2\/plugins":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"status":{"description":"Limits results to plugins with the given status.","type":"array","items":{"type":"string","enum":["inactive","active"]},"required":false}}},{"methods":["POST"],"args":{"slug":{"type":"string","description":"WordPress.org plugin directory slug.","pattern":"[\\w\\-]+","required":true},"status":{"description":"The plugin activation status.","type":"string","enum":["inactive","active"],"default":"inactive","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/plugins"}]}},"\/wp\/v2\/plugins\/(?P[^.\\\/]+(?:\\\/[^.\\\/]+)?)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"plugin":{"type":"string","pattern":"[^.\\\/]+(?:\\\/[^.\\\/]+)?","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"plugin":{"type":"string","pattern":"[^.\\\/]+(?:\\\/[^.\\\/]+)?","required":false},"status":{"description":"The plugin activation status.","type":"string","enum":["inactive","active"],"required":false}}},{"methods":["DELETE"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"plugin":{"type":"string","pattern":"[^.\\\/]+(?:\\\/[^.\\\/]+)?","required":false}}}]},"\/wp\/v2\/sidebars":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/sidebars"}]}},"\/wp\/v2\/sidebars\/(?P[\\w-]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"The id of a registered sidebar","type":"string","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"widgets":{"description":"Nested widgets.","type":"array","items":{"type":["object","string"]},"required":false}}}]},"\/wp\/v2\/widget-types":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/widget-types"}]}},"\/wp\/v2\/widget-types\/(?P[a-zA-Z0-9_-]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"The widget type id.","type":"string","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp\/v2\/widget-types\/(?P[a-zA-Z0-9_-]+)\/encode":{"namespace":"wp\/v2","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"id":{"description":"The widget type id.","type":"string","required":true},"instance":{"description":"Current instance settings of the widget.","type":"object","required":false},"form_data":{"description":"Serialized widget form data to encode into instance settings.","type":"string","required":false}}}]},"\/wp\/v2\/widget-types\/(?P[a-zA-Z0-9_-]+)\/render":{"namespace":"wp\/v2","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"id":{"description":"The widget type id.","type":"string","required":true},"instance":{"description":"Current instance settings of the widget.","type":"object","required":false}}}]},"\/wp\/v2\/widgets":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"sidebar":{"description":"The sidebar to return widgets for.","type":"string","required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the widget.","type":"string","required":false},"id_base":{"description":"The type of the widget. Corresponds to ID in widget-types endpoint.","type":"string","required":false},"sidebar":{"default":"wp_inactive_widgets","description":"The sidebar the widget belongs to.","type":"string","required":true},"instance":{"description":"Instance settings of the widget, if supported.","type":"object","properties":{"encoded":{"description":"Base64 encoded representation of the instance settings.","type":"string","context":["edit"]},"hash":{"description":"Cryptographic hash of the instance settings.","type":"string","context":["edit"]},"raw":{"description":"Unencoded instance settings, if supported.","type":"object","context":["edit"]}},"required":false},"form_data":{"description":"URL-encoded form data from the widget admin form. Used to update a widget that does not support instance. Write only.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/widgets"}]}},"\/wp\/v2\/widgets\/(?P[\\w\\-]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the widget.","type":"string","required":false},"id_base":{"description":"The type of the widget. Corresponds to ID in widget-types endpoint.","type":"string","required":false},"sidebar":{"description":"The sidebar the widget belongs to.","type":"string","required":false},"instance":{"description":"Instance settings of the widget, if supported.","type":"object","properties":{"encoded":{"description":"Base64 encoded representation of the instance settings.","type":"string","context":["edit"]},"hash":{"description":"Cryptographic hash of the instance settings.","type":"string","context":["edit"]},"raw":{"description":"Unencoded instance settings, if supported.","type":"object","context":["edit"]}},"required":false},"form_data":{"description":"URL-encoded form data from the widget admin form. Used to update a widget that does not support instance. Write only.","type":"string","required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"force":{"description":"Whether to force removal of the widget, or move it to the inactive sidebar.","type":"boolean","required":false}}}]},"\/wp\/v2\/block-directory\/search":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"term":{"description":"Limit result set to blocks matching the search term.","type":"string","minLength":1,"required":true}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/block-directory\/search"}]}},"\/wp\/v2\/pattern-directory\/patterns":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":100,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","minLength":1,"required":false},"category":{"description":"Limit results to those matching a category ID.","type":"integer","minimum":1,"required":false},"keyword":{"description":"Limit results to those matching a keyword ID.","type":"integer","minimum":1,"required":false},"slug":{"description":"Limit results to those matching a pattern (slug).","type":"array","required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by post attribute.","type":"string","default":"date","enum":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title","favorite_count"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/pattern-directory\/patterns"}]}},"\/wp\/v2\/block-patterns\/patterns":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/block-patterns\/patterns"}]}},"\/wp\/v2\/block-patterns\/categories":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/block-patterns\/categories"}]}},"\/wp-site-health\/v1":{"namespace":"wp-site-health\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wp-site-health\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp-site-health\/v1"}]}},"\/wp-site-health\/v1\/tests\/background-updates":{"namespace":"wp-site-health\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp-site-health\/v1\/tests\/background-updates"}]}},"\/wp-site-health\/v1\/tests\/loopback-requests":{"namespace":"wp-site-health\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp-site-health\/v1\/tests\/loopback-requests"}]}},"\/wp-site-health\/v1\/tests\/https-status":{"namespace":"wp-site-health\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp-site-health\/v1\/tests\/https-status"}]}},"\/wp-site-health\/v1\/tests\/dotorg-communication":{"namespace":"wp-site-health\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp-site-health\/v1\/tests\/dotorg-communication"}]}},"\/wp-site-health\/v1\/tests\/authorization-header":{"namespace":"wp-site-health\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp-site-health\/v1\/tests\/authorization-header"}]}},"\/wp-site-health\/v1\/directory-sizes":{"namespace":"wp-site-health\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp-site-health\/v1\/directory-sizes"}]}},"\/wp-site-health\/v1\/tests\/page-cache":{"namespace":"wp-site-health\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp-site-health\/v1\/tests\/page-cache"}]}},"\/wp-block-editor\/v1":{"namespace":"wp-block-editor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wp-block-editor\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp-block-editor\/v1"}]}},"\/wp-block-editor\/v1\/url-details":{"namespace":"wp-block-editor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"url":{"description":"The URL to process.","type":"string","format":"uri","required":true}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp-block-editor\/v1\/url-details"}]}},"\/wp\/v2\/menu-locations":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/menu-locations"}]}},"\/wp\/v2\/menu-locations\/(?P[\\w-]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"location":{"description":"An alphanumeric identifier for the menu location.","type":"string","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]},"\/wp-block-editor\/v1\/export":{"namespace":"wp-block-editor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp-block-editor\/v1\/export"}]}},"\/wp-block-editor\/v1\/navigation-fallback":{"namespace":"wp-block-editor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp-block-editor\/v1\/navigation-fallback"}]}},"\/wp\/v2\/font-collections":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false}}}],"_links":{"self":[{"href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/font-collections"}]}},"\/wp\/v2\/font-collections\/(?P[\\\/\\w-]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}}]}},"site_logo":34,"site_icon":34,"site_icon_url":"https:\/\/bragitrade.com\/wp-content\/uploads\/2024\/03\/Ativo-8Logotipos-semnome.png","_links":{"help":[{"href":"https:\/\/developer.wordpress.org\/rest-api\/"}],"wp:featuredmedia":[{"embeddable":true,"type":"site_logo","href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/media\/34"},{"embeddable":true,"type":"site_icon","href":"https:\/\/bragitrade.com\/index.php\/wp-json\/wp\/v2\/media\/34"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}