Yoast\WP\SEO

Loader::register_command()publicYoast 1.0

Registers a command.

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

Хуков нет.

Возвращает

null. Ничего.

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

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

Код Loader::register_command() Yoast 19.11

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