Yoast\WP\SEO
Loader::register_command()
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() Loader::register command Yoast 24.7
public function register_command( $command_class ) { $this->commands[] = $command_class; }