diff --git a/src/Bootstrap.php b/src/Bootstrap.php index fc70695..0253bcc 100644 --- a/src/Bootstrap.php +++ b/src/Bootstrap.php @@ -53,7 +53,7 @@ private function __construct() { /** * Load option builder */ - add_action( 'after_setup_theme', array( $this, 'load_option_builder' ), 1 ); + add_action( 'init', array( $this, 'load_option_builder' ), 1 ); } /** @@ -75,7 +75,7 @@ public static function run() { } /** - * OptionBuilder loads on the 'after_setup_theme' action. + * OptionBuilder loads on the 'init' action. * * @access public * @since 1.0.0