WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

Yoast\WP\SEO\Integrations\Third_Party

Web_Stories::dequeue_admin_assets() public Yoast 1.0

Removes assets for the stories editor & dashboard as they are completely custom.

{} Это метод класса: Web_Stories{}

Хуков нет.

Возвращает

null.

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

$Web_Stories = new Web_Stories();
$Web_Stories->dequeue_admin_assets();

Код Web_Stories::dequeue_admin_assets() Yoast 15.6.2

<?php
public function dequeue_admin_assets() {
	$screen = \get_current_screen();

	if ( $screen instanceof WP_Screen
		&& Google_Web_Stories\Story_Post_Type::POST_TYPE_SLUG === $screen->post_type
		&& $screen->base !== 'edit'
	) {
		\wp_dequeue_script( WPSEO_Admin_Asset_Manager::PREFIX . 'post-edit' );
		\wp_dequeue_script( WPSEO_Admin_Asset_Manager::PREFIX . 'post-edit-classic' );
		\wp_dequeue_script( WPSEO_Admin_Asset_Manager::PREFIX . 'edit-page-script' );
		\wp_dequeue_script( WPSEO_Admin_Asset_Manager::PREFIX . 'quick-edit-handler' );

		\wp_dequeue_style( WPSEO_Admin_Asset_Manager::PREFIX . 'metabox-css' );
		\wp_dequeue_style( WPSEO_Admin_Asset_Manager::PREFIX . 'scoring' );
		\wp_dequeue_style( WPSEO_Admin_Asset_Manager::PREFIX . 'select2' );
		\wp_dequeue_style( WPSEO_Admin_Asset_Manager::PREFIX . 'monorepo' );
		\wp_dequeue_style( WPSEO_Admin_Asset_Manager::PREFIX . 'admin-css' );
		\wp_dequeue_style( WPSEO_Admin_Asset_Manager::PREFIX . 'featured-image' );
		\wp_dequeue_style( WPSEO_Admin_Asset_Manager::PREFIX . 'dismissible' );
		\wp_dequeue_style( WPSEO_Admin_Asset_Manager::PREFIX . 'edit-page' );
	}
}