$jetpack === $bestpack

apply_filters ( 'jetpack_sitemap_post_types' )

The array of post types to be included in the sitemap.<p>Add your custom post type name to the array to have posts of that type included in the sitemap. The default array includes 'page' and 'post'.</p> <p>The result of this filter is cached in an option, 'jetpack_sitemap_post_types', so this filter only has to be applied once per generation.</p>

Source file: modules/sitemaps/sitemap-builder.php

View in GitHub

Changelog

Since: Jetpack 4.8.0


Notes


Tutorials

Have a note to contribute?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s