aioseo_sitemap_lastmod_disable

aioseo_sitemap_lastmod_disable

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_sitemap_lastmod_disable') is found 2 times:

  • /app/Common/Sitemap/Root.php line 509
    				}, $chunk );
    				$ids = implode( "', '", $ids );
    
    				$lastModified = null;
    				if ( ! apply_filters( 'aioseo_sitemap_lastmod_disable', false ) ) {
    					$lastModified = aioseo()->core->db
    						->start( aioseo()->core->db->db->posts . ' as p', true )
    						->select( 'MAX(`p`.`post_modified_gmt`) as last_modified' )
    						->whereRaw( "( `p`.`ID` IN ( '$ids' ) )" )
    						->run()
    						->result();
    
  • /app/Common/Sitemap/Root.php line 534
     
    			$termRelationshipsTable = aioseo()->core->db->db->prefix . 'term_relationships';
    
    			$lastModified = null;
    			if ( ! apply_filters( 'aioseo_sitemap_lastmod_disable', false ) ) {
    				$lastModified = aioseo()->core->db
    					->start( aioseo()->core->db->db->posts . ' as p', true )
    					->select( 'MAX(`p`.`post_modified_gmt`) as last_modified' )
    					->whereRaw( "
    					( `p`.`ID` IN
    						(