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

apply_filters('aioseo_sitemap_author_post_types') is found 1 times:

  • /app/Common/Sitemap/Helpers.php line 586
    	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