aioseo_sitemap_author_post_types

aioseo_sitemap_author_post_types

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_author_post_types') is found 1 times:

  • /app/Common/Sitemap/Helpers.php line 605
    601
    602
    603
    604
    605
    606
    607
    608
    609
    610
    611
    public function getAuthorPostTypes() {
        // By default, WP only considers posts for author archives, but users can include additional post types.
        $postTypes = [ 'post' ];
     
        return apply_filters( 'aioseo_sitemap_author_post_types', $postTypes );
    }
     
    /**
     * Decode the Urls from Posts and Terms so they properly show in the Sitemap.
     *
     * @since 4.6.9