Uses
Uses | Description |
---|---|
wp-includes/user.php: add_user_meta() | Adds meta data to a user. |
Prevents new users from seeing existing ‘new feature’ pointers.
(int) (Required) User ID.
File: wp-admin/includes/class-wp-internal-pointers.php
public static function dismiss_pointers_for_new_users( $user_id ) { add_user_meta( $user_id, 'dismissed_wp_pointers', '' ); }
Version | Description |
---|---|
3.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_internal_pointers/dismiss_pointers_for_new_users