WP_CLI::get_runner()
Method of the class: WP_CLI{}
No Hooks.
Return
null
. Nothing (null).
Usage
$result = WP_CLI::get_runner();
WP_CLI::get_runner() WP CLI::get runner code WP-CLI 2.8.0-alpha
public static function get_runner() { static $runner; if ( ! $runner ) { $runner = new Runner(); } return $runner; }