aioseo_sitemap_post_rss

aioseo_sitemap_post_rss

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

See hook in core

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

apply_filters('aioseo_sitemap_post_rss') is found 1 times:

  • /app/Common/Sitemap/Content.php line 639

    ‘description’ => get_post_field( ‘post_excerpt’, $post->ID ),
    ‘pubDate’ => aioseo()->helpers->dateTimeToRfc822( $this->getLastModified( $post ) )
    ];

    $entries[] = apply_filters( ‘aioseo_sitemap_post_rss’, $entry, $post->ID, $post->post_type, ‘post’ );
    }

    usort( $entries, function( $a, $b ) {
    return $a[‘pubDate’] < $b['pubDate'] ? 1 : 0; }); [/php]