aioseo_sitemap_lastmod_disable

aioseo_sitemap_lastmod_disable

Hook Type: filter

See hook in core

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

apply_filters('aioseo_sitemap_lastmod_disable') is found 2 times:

  • /app/Common/Sitemap/Root.php line 320
    				}, $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 345
     
    			$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
    						(