You appear to be a bot. Output may be restricted
Description
Clear author sitemap cache when settings are changed.
Usage
WPSEO_Admin_User_Profile::clear_author_sitemap_cache( $meta_id, $object_id, $meta_key );
Parameters
- $meta_id
- ( int ) required – The ID of the meta option changed.
- $object_id
- ( int ) required – The ID of the user.
- $meta_key
- ( string ) required – The key of the meta field changed.
Returns
void
Source
File name: wordpress-seo/admin/class-admin-user-profile.php
Lines:
1 to 6 of 6
public function clear_author_sitemap_cache( $meta_id, $object_id, $meta_key ) { if ( '_yoast_wpseo_profile_updated' === $meta_key ) { WPSEO_Sitemaps_Cache::clear( array( 'author' ) ); } }