public function isPluginDismissed( $plugin ) {
		$dismissed = false;

		$plugin_prompts = $this->getPluginPrompts( $plugin );

		foreach ( $plugin_prompts as $prompt ) {
			if ( ! empty( $prompt['time_dismissed'] ) ) {
				$dismissed = true;
			}
		}

		return $dismissed;
	}
public function isPluginDismissed( $plugin ) {
		$dismissed = false;

		$plugin_prompts = $this->getPluginPrompts( $plugin );

		foreach ( $plugin_prompts as $prompt ) {
			if ( ! empty( $prompt['time_dismissed'] ) ) {
				$dismissed = true;
			}
		}

		return $dismissed;
	}
public function isPluginDismissed ( $ plugin ) { $ dismissed = false ; $ plugin_prompts = $ this -> getPluginPrompts ( $ plugin ) ; foreach ( $ plugin_prompts as $ prompt ) { if ( ! empty ( $ prompt [ 'time_dismissed' ] ) ) { $ dismissed = true ; } } return $ dismissed ; }
Determine whether or not a given plugin has any dismissed notices.

@since 2.7.7

@param  string $plugin A plugin name.
@return bool
Determine whether or not a given plugin has any dismissed notices .