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.


Top ↑

Source

File: wp-includes/sitemaps/class-wp-sitemaps-registry.php

View on Trac



Top ↑

Changelog

Changelog
Version Description
5.5.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.