Yoast\WP\SEO\Bulk_Editor\User_Interface
Bulk_Editor_Integration::enqueue_assets
Enqueues the assets.
Метод класса: Bulk_Editor_Integration{}
Хуков нет.
Возвращает
void. Ничего (null).
Использование
$Bulk_Editor_Integration = new Bulk_Editor_Integration(); $Bulk_Editor_Integration->enqueue_assets();
Код Bulk_Editor_Integration::enqueue_assets() Bulk Editor Integration::enqueue assets Yoast 28.9
public function enqueue_assets() {
// Remove the emoji script as it is incompatible with both React and any contenteditable fields.
\remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
$this->asset_manager->enqueue_script( self::ASSETS_NAME );
$this->asset_manager->enqueue_style( self::ASSETS_NAME );
$this->asset_manager->localize_script( self::ASSETS_NAME, 'wpseoBulkEditorData', $this->get_script_data() );
}