public function getPrompt( $name ) {
		$prompt_found = array();

		$prompts = $this->getPrompts();

		foreach( $prompts as $prompt ) {
			if ( $name === $prompt['name'] ) {
				$prompt_found = $prompt;
				break;
			}
		}

		return $prompt_found;
	}
public function getPrompt( $name ) {
		$prompt_found = array();

		$prompts = $this->getPrompts();

		foreach( $prompts as $prompt ) {
			if ( $name === $prompt['name'] ) {
				$prompt_found = $prompt;
				break;
			}
		}

		return $prompt_found;
	}
public function getPrompt ( $ name ) { $ prompt_found = array ( ) ; $ prompts = $ this -> getPrompts ( ) ; foreach ( $ prompts as $ prompt ) { if ( $ name === $ prompt [ 'name' ] ) { $ prompt_found = $ prompt ; break ; } } return $ prompt_found ; }
Get a prompt by name.

@since 2.7.7

@param  string $name The name of a prompt.
@return array
Get a prompt by name .