to limit the number of links that are indexed when in cron action. * * @param int $limit Maximum number of link indexables to be indexed per link indexing action. */ return \apply_filters( 'wpseo_cron_link_indexing_limit_size', 3 ); } return $link_indexation_limit; } /** * Determine whether cron indexation should be performed. * * @return bool Should cron indexation be performed. */ protected function should_index_on_cron() { if ( ! $this->indexable_helper->should_index_indexables() ) { return false; } // The filter supersedes everything when preventing cron indexation. if ( \apply_filters( 'Yoast\WP\SEO\enable_cron_indexing', true ) !== true ) { return false; } return $this->indexing_helper->get_limited_filtered_unindexed_count_background( 1 ) > 0; } /** * Determine whether background indexation should be performed. * * @param int $shutdown_limit The shutdown limit used to determine whether indexation should be run. * * @return bool Should background indexation be performed. */ protected function should_index_on_shutdown( $shutdown_limit ) { if ( ! $this->yoast_admin_and_dashboard_conditional->is_met() || ! $this->get_request_conditional->is_met() ) { return false; } if ( ! $this->indexable_helper->should_index_indexables() ) { return false; } if ( $this->wp_cron_enabled_conditional->is_met() ) { return false; } $total_unindexed = $this->indexing_helper->get_limited_filtered_unindexed_count_background( $shutdown_limit ); if ( $total_unindexed === 0 || $total_unindexed > $shutdown_limit ) { return false; } return true; } /** * Retrieves the shutdown limit. This limit is the amount of indexables that is generated in the background. * * @return int The shutdown limit. */ protected function get_shutdown_limit() { /** * Filter 'wpseo_shutdown_indexation_limit' - Allow filtering the number of objects that can be indexed during shutdown. * * @param int $limit The maximum number of objects indexed. */ return \apply_filters( 'wpseo_shutdown_indexation_limit', 25 ); } /** * Removes the cron indexing job from the scheduled event queue. * * @return void */ protected function unschedule_cron_indexing() { $scheduled = \wp_next_scheduled( 'wpseo_indexable_index_batch' ); if ( $scheduled ) { \wp_unschedule_event( $scheduled, 'wpseo_indexable_index_batch' ); } } /** * Registers a method to be executed on shutdown. * This wrapper mostly exists for making this class more unittestable. * * @param string $method_name The name of the method on the current instance to register. * * @return void */ protected function register_shutdown_function( $method_name ) { \register_shutdown_function( [ $this, $method_name ] ); } } {"id":1832,"date":"2016-12-25T10:10:27","date_gmt":"2016-12-25T10:10:27","guid":{"rendered":"http:\/\/localejobs.com\/product\/opr006\/"},"modified":"2017-08-06T15:01:30","modified_gmt":"2017-08-06T15:01:30","slug":"opr006","status":"publish","type":"product","link":"https:\/\/jj-studios.in\/product\/opr006\/","title":{"rendered":"OPR006"},"content":{"rendered":"","protected":false},"excerpt":{"rendered":"","protected":false},"featured_media":1833,"comment_status":"open","ping_status":"closed","template":"","meta":[],"product_cat":[33],"product_tag":[],"class_list":{"0":"post-1832","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-oil-painting-reproductions","7":"pa_made-on-oil-on-canvas","8":"pa_painting-type-un-framed","9":"pa_sizes-36-inch-width-x-24-inch-height","11":"first","12":"instock","13":"shipping-taxable","14":"purchasable","15":"product-type-simple"},"yoast_head":"\nOPR006 - Buy paintings online India,Buy Canvas paintings online, Modern Art for sale<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jj-studios.in\/product\/opr006\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OPR006\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jj-studios.in\/product\/opr006\/\" \/>\n<meta property=\"og:site_name\" content=\"Buy paintings online India,Buy Canvas paintings online, Modern Art for sale\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/jjstudios\/\" \/>\n<meta property=\"article:modified_time\" content=\"2017-08-06T15:01:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jj-studios.in\/wp-content\/uploads\/2016\/12\/57-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"768\" \/>\n\t<meta property=\"og:image:height\" content=\"964\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@jjstudiosindia\" \/>\n<meta name=\"twitter:label1\" content=\"Price\" \/>\n\t<meta name=\"twitter:data1\" content=\"₹4,000.00\" \/>\n\t<meta name=\"twitter:label2\" content=\"Availability\" \/>\n\t<meta name=\"twitter:data2\" content=\"In stock\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jj-studios.in\/product\/opr006\/\",\"url\":\"https:\/\/jj-studios.in\/product\/opr006\/\",\"name\":\"OPR006 - Buy paintings online India,Buy Canvas paintings online, Modern Art for sale\",\"isPartOf\":{\"@id\":\"https:\/\/jj-studios.in\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/jj-studios.in\/product\/opr006\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/jj-studios.in\/product\/opr006\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/jj-studios.in\/wp-content\/uploads\/2016\/12\/57-1.jpg\",\"datePublished\":\"2016-12-25T10:10:27+00:00\",\"dateModified\":\"2017-08-06T15:01:30+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/jj-studios.in\/product\/opr006\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jj-studios.in\/product\/opr006\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jj-studios.in\/product\/opr006\/#primaryimage\",\"url\":\"https:\/\/jj-studios.in\/wp-content\/uploads\/2016\/12\/57-1.jpg\",\"contentUrl\":\"https:\/\/jj-studios.in\/wp-content\/uploads\/2016\/12\/57-1.jpg\",\"width\":768,\"height\":964},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jj-studios.in\/product\/opr006\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jj-studios.in\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Shop\",\"item\":\"https:\/\/jj-studios.in\/shop\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"OPR006\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jj-studios.in\/#website\",\"url\":\"https:\/\/jj-studios.in\/\",\"name\":\"Buy paintings online India,Buy Canvas paintings online, Modern Art for sale\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/jj-studios.in\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jj-studios.in\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/jj-studios.in\/#organization\",\"name\":\"Buy paintings online India,Buy Canvas paintings online, Modern Art for sale\",\"url\":\"https:\/\/jj-studios.in\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jj-studios.in\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/jj-studios.in\/wp-content\/uploads\/2015\/12\/logo.png\",\"contentUrl\":\"https:\/\/jj-studios.in\/wp-content\/uploads\/2015\/12\/logo.png\",\"width\":230,\"height\":126,\"caption\":\"Buy paintings online India,Buy Canvas paintings online, Modern Art for sale\"},\"image\":{\"@id\":\"https:\/\/jj-studios.in\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/jjstudios\/\",\"https:\/\/x.com\/jjstudiosindia\"]}]}<\/script>\n<meta property=\"product:price:amount\" content=\"4000.00\" \/>\n<meta property=\"product:price:currency\" content=\"INR\" \/>\n<meta property=\"og:availability\" content=\"instock\" \/>\n<meta property=\"product:availability\" content=\"instock\" \/>\n<meta property=\"product:condition\" content=\"new\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"OPR006 - Buy paintings online India,Buy Canvas paintings online, Modern Art for sale","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jj-studios.in\/product\/opr006\/","og_locale":"en_US","og_type":"article","og_title":"OPR006","og_url":"https:\/\/jj-studios.in\/product\/opr006\/","og_site_name":"Buy paintings online India,Buy Canvas paintings online, Modern Art for sale","article_publisher":"https:\/\/www.facebook.com\/jjstudios\/","article_modified_time":"2017-08-06T15:01:30+00:00","og_image":[{"width":768,"height":964,"url":"https:\/\/jj-studios.in\/wp-content\/uploads\/2016\/12\/57-1.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@jjstudiosindia","twitter_misc":{"Price":"₹4,000.00","Availability":"In stock"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/jj-studios.in\/product\/opr006\/","url":"https:\/\/jj-studios.in\/product\/opr006\/","name":"OPR006 - Buy paintings online India,Buy Canvas paintings online, Modern Art for sale","isPartOf":{"@id":"https:\/\/jj-studios.in\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jj-studios.in\/product\/opr006\/#primaryimage"},"image":{"@id":"https:\/\/jj-studios.in\/product\/opr006\/#primaryimage"},"thumbnailUrl":"https:\/\/jj-studios.in\/wp-content\/uploads\/2016\/12\/57-1.jpg","datePublished":"2016-12-25T10:10:27+00:00","dateModified":"2017-08-06T15:01:30+00:00","breadcrumb":{"@id":"https:\/\/jj-studios.in\/product\/opr006\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jj-studios.in\/product\/opr006\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jj-studios.in\/product\/opr006\/#primaryimage","url":"https:\/\/jj-studios.in\/wp-content\/uploads\/2016\/12\/57-1.jpg","contentUrl":"https:\/\/jj-studios.in\/wp-content\/uploads\/2016\/12\/57-1.jpg","width":768,"height":964},{"@type":"BreadcrumbList","@id":"https:\/\/jj-studios.in\/product\/opr006\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jj-studios.in\/"},{"@type":"ListItem","position":2,"name":"Shop","item":"https:\/\/jj-studios.in\/shop\/"},{"@type":"ListItem","position":3,"name":"OPR006"}]},{"@type":"WebSite","@id":"https:\/\/jj-studios.in\/#website","url":"https:\/\/jj-studios.in\/","name":"Buy paintings online India,Buy Canvas paintings online, Modern Art for sale","description":"","publisher":{"@id":"https:\/\/jj-studios.in\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jj-studios.in\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/jj-studios.in\/#organization","name":"Buy paintings online India,Buy Canvas paintings online, Modern Art for sale","url":"https:\/\/jj-studios.in\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jj-studios.in\/#\/schema\/logo\/image\/","url":"https:\/\/jj-studios.in\/wp-content\/uploads\/2015\/12\/logo.png","contentUrl":"https:\/\/jj-studios.in\/wp-content\/uploads\/2015\/12\/logo.png","width":230,"height":126,"caption":"Buy paintings online India,Buy Canvas paintings online, Modern Art for sale"},"image":{"@id":"https:\/\/jj-studios.in\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/jjstudios\/","https:\/\/x.com\/jjstudiosindia"]}]},"product_price_amount":"4000.00","product_price_currency":"INR","og_availability":"instock","product_availability":"instock","product_condition":"new"},"_links":{"self":[{"href":"https:\/\/jj-studios.in\/wp-json\/wp\/v2\/product\/1832","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jj-studios.in\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/jj-studios.in\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/jj-studios.in\/wp-json\/wp\/v2\/comments?post=1832"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jj-studios.in\/wp-json\/wp\/v2\/media\/1833"}],"wp:attachment":[{"href":"https:\/\/jj-studios.in\/wp-json\/wp\/v2\/media?parent=1832"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/jj-studios.in\/wp-json\/wp\/v2\/product_cat?post=1832"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/jj-studios.in\/wp-json\/wp\/v2\/product_tag?post=1832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}