WP_Internal_Pointers::dismiss_pointers_for_new_users

Advertisement

Summery Summery

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

Syntax Syntax

WP_Internal_Pointers::dismiss_pointers_for_new_users( int $user_id )

Parameters Parameters

$user_id

(Required) User ID.

Source Source

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', '' );
	}

Advertisement

Changelog Changelog

Changelog
Version Description
3.3.0 Introduced.

Advertisement

Leave a Reply