From cf0d2a8355c23ebea79a558fb302d8e39a4f8182 Mon Sep 17 00:00:00 2001 From: Dennis Ploetner Date: Wed, 17 Jan 2024 16:18:09 +0100 Subject: [PATCH] Hooks for loading additional CSS in admin and frontend --- includes/MslsPlugin.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/MslsPlugin.php b/includes/MslsPlugin.php index 8affb1fe..13ab4322 100644 --- a/includes/MslsPlugin.php +++ b/includes/MslsPlugin.php @@ -59,6 +59,7 @@ public static function init() { add_action( 'init', [ $obj, 'admin_bar_init' ] ); add_action( 'admin_enqueue_scripts', [ $obj, 'custom_enqueue' ] ); + add_action( 'wp_enqueue_scripts', [ $obj, 'custom_enqueue' ] ); \lloc\Msls\ContentImport\Service::instance()->register();