wp_sitemaps_users_entry WordPress Filter Hook

The wp_sitemaps_users_entry hook is used to add a user to the WordPress sitemap. This hook is triggered when a new user is created or an existing user is updated.

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.


Top ↑

Source

File: wp-includes/sitemaps/providers/class-wp-sitemaps-users.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.