wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_sitemaps_add_provider › WordPress Filter Hooks

Since5.5.0
Deprecatedn/a
apply_filters( 'wp_sitemaps_add_provider', $provider, $name )
Parameters: (2)
  • (WP_Sitemaps_Provider) $provider Instance of a WP_Sitemaps_Provider.
    Required: Yes
  • (string) $name Name of the sitemap provider.
    Required: Yes
Defined at:
Codex:

Filters the sitemap provider before it is added.





Source

$provider = apply_filters( 'wp_sitemaps_add_provider', $provider, $name );