public function dismiss_notice( $id ) {
		$notice = self::$instance->get_notice( self::$instance->get_id( $id ) );
		if ( self::$instance->is_dismissed( $id ) ) {
			return false;
		}
		return 'user' === $notice['scope'] ? self::$instance->dismiss_user( $id ) : self::$instance->dismiss_global( $id );
	}
public function dismiss_notice( $id ) {
		$notice = self::$instance->get_notice( self::$instance->get_id( $id ) );
		if ( self::$instance->is_dismissed( $id ) ) {
			return false;
		}
		return 'user' === $notice['scope'] ? self::$instance->dismiss_user( $id ) : self::$instance->dismiss_global( $id );
	}
public function dismiss_notice ( $ id ) { $ notice = self :: $ instance -> get_notice ( self :: $ instance -> get_id ( $ id ) ) ; if ( self :: $ instance -> is_dismissed ( $ id ) ) { return false ; } return 'user' === $ notice [ 'scope' ] ? self :: $ instance -> dismiss_user ( $ id ) : self :: $ instance -> dismiss_global ( $ id ) ; }
Dismiss notice into the database.

@param string $id
@return void
Dismiss notice into the database .