aioseo_sitemap_author_post_types

aioseo_sitemap_author_post_types

Hook Type: filter

See hook in core

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

apply_filters('aioseo_sitemap_author_post_types') is found 1 times:

  • /app/Common/Sitemap/Helpers.php line 586

    Warning: Undefined array key 588 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 589 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 590 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 591 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    	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 );
    	}
    }