of the post type data right before it is returned. * * @since 4.7.0 * * @param WP_REST_Response $response The response object. * @param WP_Post_Type $post_type The original post type object. * @param WP_REST_Request $request Request used to generate the response. */ return apply_filters( 'rest_prepare_post_type', $response, $post_type, $request ); } /** * Prepares links for the request. * * @since 6.1.0 * * @param WP_Post_Type $post_type The post type. * @return array Links for the given post type. */ protected function prepare_links( $post_type ) { return array( 'collection' => array( 'href' => rest_url( sprintf( '%s/%s', $this->namespace, $this->rest_base ) ), ), 'https://api.w.org/items' => array( 'href' => rest_url( rest_get_route_for_post_type_items( $post_type->name ) ), ), ); } /** * Retrieves the post type's schema, conforming to JSON Schema. * * @since 4.7.0 * @since 4.8.0 The `supports` property was added. * @since 5.9.0 The `visibility` and `rest_namespace` properties were added. * @since 6.1.0 The `icon` property was added. * * @return array Item schema data. */ public function get_item_schema() { if ( $this->schema ) { return $this->add_additional_fields_schema( $this->schema ); } $schema = array( '$schema' => 'http://json-schema.org/draft-04/schema#', 'title' => 'type', 'type' => 'object', 'properties' => array( 'capabilities' => array( 'description' => __( 'All capabilities used by the post type.' ), 'type' => 'object', 'context' => array( 'edit' ), 'readonly' => true, ), 'description' => array( 'description' => __( 'A human-readable description of the post type.' ), 'type' => 'string', 'context' => array( 'view', 'edit' ), 'readonly' => true, ), 'hierarchical' => array( 'description' => __( 'Whether or not the post type should have children.' ), 'type' => 'boolean', 'context' => array( 'view', 'edit' ), 'readonly' => true, ), 'viewable' => array( 'description' => __( 'Whether or not the post type can be viewed.' ), 'type' => 'boolean', 'context' => array( 'edit' ), 'readonly' => true, ), 'labels' => array( 'description' => __( 'Human-readable labels for the post type for various contexts.' ), 'type' => 'object', 'context' => array( 'edit' ), 'readonly' => true, ), 'name' => array( 'description' => __( 'The title for the post type.' ), 'type' => 'string', 'context' => array( 'view', 'edit', 'embed' ), 'readonly' => true, ), 'slug' => array( 'description' => __( 'An alphanumeric identifier for the post type.' ), 'type' => 'string', 'context' => array( 'view', 'edit', 'embed' ), 'readonly' => true, ), 'supports' => array( 'description' => __( 'All features, supported by the post type.' ), 'type' => 'object', 'context' => array( 'edit' ), 'readonly' => true, ), 'has_archive' => array( 'description' => __( 'If the value is a string, the value will be used as the archive slug. If the value is false the post type has no archive.' ), 'type' => array( 'string', 'boolean' ), 'context' => array( 'view', 'edit' ), 'readonly' => true, ), 'taxonomies' => array( 'description' => __( 'Taxonomies associated with post type.' ), 'type' => 'array', 'items' => array( 'type' => 'string', ), 'context' => array( 'view', 'edit' ), 'readonly' => true, ), 'rest_base' => array( 'description' => __( 'REST base route for the post type.' ), 'type' => 'string', 'context' => array( 'view', 'edit', 'embed' ), 'readonly' => true, ), 'rest_namespace' => array( 'description' => __( 'REST route\'s namespace for the post type.' ), 'type' => 'string', 'context' => array( 'view', 'edit', 'embed' ), 'readonly' => true, ), 'visibility' => array( 'description' => __( 'The visibility settings for the post type.' ), 'type' => 'object', 'context' => array( 'edit' ), 'readonly' => true, 'properties' => array( 'show_ui' => array( 'description' => __( 'Whether to generate a default UI for managing this post type.' ), 'type' => 'boolean', ), 'show_in_nav_menus' => array( 'description' => __( 'Whether to make the post type available for selection in navigation menus.' ), 'type' => 'boolean', ), ), ), 'icon' => array( 'description' => __( 'The icon for the post type.' ), 'type' => array( 'string', 'null' ), 'context' => array( 'view', 'edit', 'embed' ), 'readonly' => true, ), 'template' => array( 'type' => array( 'array' ), 'description' => __( 'The block template associated with the post type.' ), 'readonly' => true, 'context' => array( 'view', 'edit', 'embed' ), ), 'template_lock' => array( 'type' => array( 'string', 'boolean' ), 'enum' => array( 'all', 'insert', 'contentOnly', false ), 'description' => __( 'The template_lock associated with the post type, or false if none.' ), 'readonly' => true, 'context' => array( 'view', 'edit', 'embed' ), ), ), ); $this->schema = $schema; return $this->add_additional_fields_schema( $this->schema ); } /** * Retrieves the query params for collections. * * @since 4.7.0 * * @return array Collection parameters. */ public function get_collection_params() { return array( 'context' => $this->get_context_param( array( 'default' => 'view' ) ), ); } } قیمت - صفحه 685 از 724 - قیمت

دلار امروز 256,220 ساعت 17:37

قیمت زنده دلار 256,220 ریال امروز سیزده دی هزار و سیصد و نود و نه ساعت 17:37:52 قیمت یورو 313,420 سیصد و سیزده هزار و چهار صد و بیست ریال قیمت پوند 352,670 سیصد و پنجاه و دو  هزار و ششصد و هفتاد ریال

دلار امروز 256,220 ساعت 17:37 بیشتر بخوانید »

قیمت دلار امروز 2021/01/02 ساعت 16:12

قیمت لحظه ای دلار امروز 2021/01/02 ساعت 16:12:45 برابر با 256,190 دویست و پنجاه و شش هزار و صد و نود ریال قیمت یورو 313,410 سیصد و سیزده هزار و چهار صد و ده ریال قیمت پوند 352,110 سیصد و پنجاه و دو  هزار و صد و ده ریال

قیمت دلار امروز 2021/01/02 ساعت 16:12 بیشتر بخوانید »

نرخ دلار امروز شنبه ساعت 14:05

نرخ دلار امروز شنبه ساعت 14:05:15 برابر با 256,180 دویست و پنجاه و شش هزار و صد و هشتاد ریال قیمت یورو 313,510 سیصد و سیزده هزار و پانصد و ده ریال قیمت پوند 353,490 سیصد و پنجاه و سه هزار و چهار صد و نود ریال

نرخ دلار امروز شنبه ساعت 14:05 بیشتر بخوانید »

قیمت دلار امروز ۱۳۹۹/۱۰/۱۳ ساعت 12:05

قیمت دلار امروز ۱۳۹۹/۱۰/۱۳ ساعت 12:05:11 برابر با 256,750 دویست و پنجاه و شش هزار و هفتصد و پنجاه ریال قیمت یورو 314,010 سیصد و چهارده هزار وده ریال قیمت پوند 353,690 سیصد و پنجاه و سه هزار و ششصد و نود ریال

قیمت دلار امروز ۱۳۹۹/۱۰/۱۳ ساعت 12:05 بیشتر بخوانید »

دلار امروز 257,010 ساعت 17:34

قیمت زنده دلار 257,010 ریال امروز دوازده دی هزار و سیصد و نود و نه ساعت 17:34:45 قیمت یورو 315,930 سیصد و پانزده هزار و نه صد و سی ریال قیمت پوند 353,970 سیصد و پنجاه و سه هزار و نه صد و هفتاد ریال

دلار امروز 257,010 ساعت 17:34 بیشتر بخوانید »

قیمت دلار امروز 2021/01/01 ساعت 16:07

قیمت لحظه ای دلار امروز 2021/01/01 ساعت 16:07:49 برابر با 257,217 دویست و پنجاه و هفت هزار و دویست و هفده ریال قیمت یورو 316,137 سیصد و شانزده هزار و صد و سی و هفت ریال قیمت پوند 354,177 سیصد و پنجاه و چهار هزار و صد و هفتاد و هفت ریال

قیمت دلار امروز 2021/01/01 ساعت 16:07 بیشتر بخوانید »

نرخ دلار امروز جمعه ساعت 14:03

نرخ دلار امروز جمعه ساعت 14:03:18 برابر با 257,010 دویست و پنجاه و هفت هزار وده ریال قیمت یورو 315,930 سیصد و پانزده هزار و نه صد و سی ریال قیمت پوند 353,970 سیصد و پنجاه و سه هزار و نه صد و هفتاد ریال

نرخ دلار امروز جمعه ساعت 14:03 بیشتر بخوانید »

قیمت دلار امروز ۱۳۹۹/۱۰/۱۲ ساعت 11:57

قیمت دلار امروز ۱۳۹۹/۱۰/۱۲ ساعت 11:57:28 برابر با 257,708 دویست و پنجاه و هفت هزار و هفتصد و هشت ریال قیمت یورو 316,628 سیصد و شانزده هزار و ششصد و بیست و هشت ریال قیمت پوند 354,668 سیصد و پنجاه و چهار هزار و ششصد و شصت و هشت ریال

قیمت دلار امروز ۱۳۹۹/۱۰/۱۲ ساعت 11:57 بیشتر بخوانید »

دلار امروز 257,010 ساعت 17:31

قیمت زنده دلار 257,010 ریال امروز یازده دی هزار و سیصد و نود و نه ساعت 17:31:38 قیمت یورو 315,930 سیصد و پانزده هزار و نه صد و سی ریال قیمت پوند 353,970 سیصد و پنجاه و سه هزار و نه صد و هفتاد ریال

دلار امروز 257,010 ساعت 17:31 بیشتر بخوانید »

قیمت دلار امروز 2020/12/31 ساعت 16:06

قیمت لحظه ای دلار امروز 2020/12/31 ساعت 16:06:10 برابر با 256,990 دویست و پنجاه و شش هزار و نه صد و نود ریال قیمت یورو 316,015 سیصد و شانزده هزار وپانزده ریال قیمت پوند 354,400 سیصد و پنجاه و چهار هزار و چهار صد ریال

قیمت دلار امروز 2020/12/31 ساعت 16:06 بیشتر بخوانید »