WPSEO_Admin_Asset_Manager::register_scripts()
Registers all the scripts passed to it.
Метод класса: WPSEO_Admin_Asset_Manager{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WPSEO_Admin_Asset_Manager = new WPSEO_Admin_Asset_Manager(); $WPSEO_Admin_Asset_Manager->register_scripts( $scripts );
- $scripts(массив) (обязательный)
- The scripts passed to it.
Код WPSEO_Admin_Asset_Manager::register_scripts() WPSEO Admin Asset Manager::register scripts Yoast 24.0
public function register_scripts( $scripts ) { foreach ( $scripts as $script ) { $script = new WPSEO_Admin_Asset( $script ); $this->register_script( $script ); } }