apply_filters( 'wp_sitemaps_add_provider', WP_Sitemaps_Provider $provider , string $name )
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
File: wp-includes/sitemaps/class-wp-sitemaps-registry.php
.
View all references
$provider = apply_filters( 'wp_sitemaps_add_provider', $provider, $name );
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |
User Contributed Notes
-
Skip to note 1 content You must log in to vote on the helpfulness of this noteVote results for this note: 0You must log in to vote on the helpfulness of this note