private function dismiss_user( $id ) {
		$dismissed = self::$instance->dismissed_user();
		if ( in_array( $id, $dismissed ) ) {
			return false;
		}
		array_push( $dismissed, $id );
		return update_user_meta( get_current_user_id(), 'tdp_dismissed_notices', $dismissed );
	}
private function dismiss_user( $id ) {
		$dismissed = self::$instance->dismissed_user();
		if ( in_array( $id, $dismissed ) ) {
			return false;
		}
		array_push( $dismissed, $id );
		return update_user_meta( get_current_user_id(), 'tdp_dismissed_notices', $dismissed );
	}
private function dismiss_user ( $ id ) { $ dismissed = self :: $ instance -> dismissed_user ( ) ; if ( in_array ( $ id , $ dismissed ) ) { return false ; } array_push ( $ dismissed , $ id ) ; return update_user_meta ( get_current_user_id ( ) , 'tdp_dismissed_notices' , $ dismissed ) ; }
Dismiss notice for an user.

@param string $id the notice id.
@return void
Dismiss notice for an user .