Filters the sitemap provider before it is added.
Parameters
$provider
WP_Sitemaps_Provider- Instance of a WP_Sitemaps_Provider.
$name
string- Name of the sitemap provider.
Source
$provider = apply_filters( 'wp_sitemaps_add_provider', $provider, $name );
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |
User Contributed Notes