aioseo_image_sitemap_posts_per_scan

aioseo_image_sitemap_posts_per_scan

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: all-in-one-seo-pack.4.7.7

apply_filters('aioseo_image_sitemap_posts_per_scan') is found 1 times:

  • /app/Common/Sitemap/Image/Image.php line 119
    		) {
    			return;
    		}
    
    		$postsPerScan = apply_filters( 'aioseo_image_sitemap_posts_per_scan', 10 );
    		$postTypes    = implode( "', '", aioseo()->helpers->getPublicPostTypes( true ) );
    
    		$posts = aioseo()->core->db
    			->start( aioseo()->core->db->db->posts . ' as p', true )
    			->select( '`p`.`ID`, `p`.`post_type`, `p`.`post_content`, `p`.`post_excerpt`, `p`.`post_modified_gmt`' )
    			->leftJoin( 'aioseo_posts as ap', '`ap`.`post_id` = `p`.`ID`' )