-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
After taking some looks, it seems load_option_builder() doesn't invoked when trying to integrate the library into the theme since after_setup_theme hook already fired beforehand. I suppose changing the hook into init would fix the issue.
wp-option-builder/src/Bootstrap.php
Lines 53 to 56 in f58874c
| /** | |
| * Load option builder | |
| */ | |
| add_action( 'after_setup_theme', array( $this, 'load_option_builder' ), 1 ); |
public function boot()
{
if (is_admin()) {
new ThemeSettings();
}
}
Metadata
Metadata
Assignees
Labels
No labels