Download the PHP package bonnier/wp-bonnier-sitemap without Composer
On this page you can find all versions of the php package bonnier/wp-bonnier-sitemap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bonnier/wp-bonnier-sitemap
More information about bonnier/wp-bonnier-sitemap
Files in bonnier/wp-bonnier-sitemap
Package wp-bonnier-sitemap
Short Description A Sitemap plugin for the Willow platform
License MIT
Informations about the package wp-bonnier-sitemap
WP Bonnier Sitemap
A plugin for handling sitemaps in WordPress
This plugin will monitor all public WP_Post types and
Filters
This plugin makes some filters available to developers of WordPress sites, in order to customize the validation and handling of content to be processed by this plugin.
WpBonnierSitemap::FILTER_ALLOWED_POST_TYPES = 'sitemap_allowed_post_types'
This filter will allow you to remove or add post types that are allowed by the sitemap plugin, and therefore which post types will be listened for on changes.
WpBonnierSitemap::FILTER_POST_ALLOWED_IN_SITEMAP = 'post_allowed_in_sitemap'
This filter will allow you to hijack the validation for whether a WP_Post is supposed to be in the sitemap.
Default: true
WpBonnierSitemap::FILTER_POST_TAG_MINIMUM_COUNT = 'post_tag_minimum_count'
This filter will allow you to define the minimum number of posts a tag needs to be attached to, for it to be included in a sitemap.
Default: 5
WpBonnierSitemap::FILTER_USER_MINIMUM_COUNT = 'user_minimum_count'
This filter will allow you to define the minimum number of posts a user needs to be attached to, for it to be included in a sitemap.
Default: 5
WpBonnierSitemap::FILTER_POST_PERMALINK = 'sitemap_post_permalink'
This filter will allow you to alter the generated permalink for a post being saved.
WpBonnierSitemap::FILTER_CATEGORY_PERMALINK = 'sitemap_category_permalink'
This filter will allow you to alter the generated permalink for a category being saved.
WpBonnierSitemap::FILTER_TAG_PERMALINK = 'sitemap_tag_permalink'
This filter will allow you to alter the generated permalink for a post_tag being saved.
WpBonnierSitemap::FILTER_TAG_ALLOWED_IN_SITEMAP = 'tag_allowed_in_sitemap'
This filter will allow you to hijack the validation for whether a WP_Term is supposed to be in the sitemap.
Default: true
WpBonnierSitemap::FILTER_ALLOW_USER_IN_SITEMAP = 'allow_user_in_sitemap'
This filter will allow you to apply your own rules for registering the user in the sitemap table.