Yoast\WP\SEO

Loader::register_command()publicYoast 1.0

Registers a command.

Метод класса: Loader{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$Loader = new Loader();
$Loader->register_command( $command_class );
$command_class(строка) (обязательный)
The class name of the command to be loaded.

Код Loader::register_command() Yoast 22.4

public function register_command( $command_class ) {
	$this->commands[] = $command_class;
}