WordPress at Your Fingertips
function is not described

WP_Internal_Pointers::dismiss_pointers_for_new_users() public WP 3.3.0

Prevents new users from seeing existing 'new feature' pointers.

{} It's a method of the class: WP_Internal_Pointers{}

No Hooks.

Return

null. Nothing.

Usage

$result = WP_Internal_Pointers::dismiss_pointers_for_new_users( $user_id );
$user_id(int) (required)
User ID.

Changelog

Since 3.3.0 Introduced.

Code of WP_Internal_Pointers::dismiss_pointers_for_new_users() WP 5.8.2

public static function dismiss_pointers_for_new_users( $user_id ) {
	add_user_meta( $user_id, 'dismissed_wp_pointers', '' );
}