WPSEO_Admin_Asset_Manager::register_assets()publicYoast 1.0

Calls the functions that register scripts and styles with the scripts and styles to be registered as arguments.

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

Хуков нет.

Возвращает

null. Ничего.

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

$WPSEO_Admin_Asset_Manager = new WPSEO_Admin_Asset_Manager();
$WPSEO_Admin_Asset_Manager->register_assets();

Код WPSEO_Admin_Asset_Manager::register_assets() Yoast 19.11

public function register_assets() {
	$this->register_scripts( $this->scripts_to_be_registered() );
	$this->register_styles( $this->styles_to_be_registered() );
}