WP_CLI
DocParser::get_param_args
Get the arguments for a given parameter.
Method of the class: DocParser{}
No Hooks.
Returns
Mixed|null.
Usage
$DocParser = new DocParser(); $DocParser->get_param_args( $key );
- $key(string) (required)
- Parameter's key.
DocParser::get_param_args() DocParser::get param args code WP-CLI 2.13.0-alpha
public function get_param_args( $key ) {
return $this->get_arg_or_param_args( "/^\[?--{$key}=.*/" );
}