WPSEO_Admin_Asset_Manager::special_styles()publicYoast 1.0

A list of styles that shouldn't be registered but are needed in other locations in the plugin.

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

Хуков нет.

Возвращает

Массив.

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

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

Код WPSEO_Admin_Asset_Manager::special_styles() Yoast 24.0

public function special_styles() {
	$flat_version = $this->flatten_version( WPSEO_VERSION );
	$asset_args   = [
		'name' => 'inside-editor',
		'src'  => 'inside-editor-' . $flat_version,
	];

	return [ 'inside-editor' => new WPSEO_Admin_Asset( $asset_args ) ];
}