apply_filters( 'wp_sitemaps_users_entry', array $sitemap_entry, WP_User $user )
Filters the sitemap entry for an individual user.
Parameters
- $sitemap_entry
-
(array) Sitemap entry for the user.
- $user
-
(WP_User) User object.
Source
File: wp-includes/sitemaps/providers/class-wp-sitemaps-users.php
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_sitemaps_users_entry