Jupiter X uses the Beans Framework so all the hooks in that framework are supported in Jupiter X https://www.getbeans.io/code-reference/
These hooks are already categorized on the page e.g Admin hooks, API hooks. Besides the above hooks, we have also registered our custom hooks in Jupiter X.
Note: replace all the hooks prefix beans_ with jupiterx_
Control Panel Hooks
Actions
- jupiterx_control_panel_init is triggered when you view Jupiter X control panel in the Dashboard.
- jupiterx_control_panel_get_started is triggered in Control Panel Home pane before Getting started.
- jupiterx_control_panel_after_theme_settings is triggered after theme settings before Donut settings in Control Panel settings pane.
Filters
- jupiterx_control_panel_pane_{$slug}
- jupiterx_widget_settings is used for filtering widget settings while importing them in control panel import/export pane.
- jupiterx_template_download_url is used for filtering the template download link when we install a particular template.
Custom Fields Hooks
Filters
- jupiterx_post_options_post_types is used to filter the post types where Jupiter X acf local meta fields will be shown.
Setup Wizard Hooks
Actions
- jupiterx_print_templates Used for rendering templates in setup wizard.
Customizer Hooks
Actions
- {$id}_before_panel Run action before section added.
- {$id}_after_panel Run action after panel added.
- {$id}_before_section Run action before section added.
- {$id}_after_section Run action after section added.
- {$args[‘settings’]}_before_field Run action before field added.
- {$args[‘settings’]}_after_field Run action after field added.
- jupiterx_before_customizer_register Fires before customizer settings are registered.
- jupiterx_after_customizer_register Fires after customizer settings are registered.
Initialization Hooks
Actions
- jupiterx_init Load Jupiter framework.
- jupiterx_before_load Fires before Jupiter loads.
- jupiterx_after_load Fires after Jupiter loads.
- jupiterx_after_load_api Fires after all the api components are loaded.
Plugin Hooks
Filters
- jupiterx_check_plugin_conflicts This filter is applied to the Jupiter X maintained plugins that may cause conflicts on updating them based on the currently installed plugins version & a Jupiter X theme version.