From e60ffba94ad150ff9526a283f9dce3914343029a Mon Sep 17 00:00:00 2001 From: David Stone Date: Mon, 30 Dec 2024 22:44:52 -0700 Subject: [PATCH] Fix previewer and possibly other broken things --- inc/class-wp-ultimo.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/inc/class-wp-ultimo.php b/inc/class-wp-ultimo.php index c0660dd..adcdd4c 100644 --- a/inc/class-wp-ultimo.php +++ b/inc/class-wp-ultimo.php @@ -202,9 +202,7 @@ final class WP_Ultimo { * * @since 2.0.0 */ - add_action('init', function () { - do_action('wp_ultimo_load'); - }); + do_action('wp_ultimo_load'); /* * Loads admin pages