WP_Internal_Pointers::dismiss_pointers_for_new_users( int $user_id )

In this article

Prevents new users from seeing existing ‘new feature’ pointers.

Parameters

$user_idintrequired
User ID.

Source

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

Changelog

VersionDescription
3.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.