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.8.1.1

apply_filters('aioseo_sitemap_lastmod_disable') is found 2 times:

  • /app/Common/Sitemap/Root.php line 538
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    }, $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 563
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    $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
                (