WordPress action hook
kirki_panel_added
Defined by Kirki and fired by 7 plugins in total, running on 500K+ sites between them.
How to use kirki_panel_added
It's an action: your callback runs at that point and receives 2 arguments. Nothing needs to be returned.
Add this to your theme's functions.php or a small custom plugin:
add_action( 'kirki_panel_added', function( $id, $args ) {
// Your code runs here.
}, 10, 2 );Argument names come from Kirki's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
7 plugins that fire kirki_panel_added
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Kirki400,000+ installs
do_action( 'kirki_panel_added', $this->id, $this->args )customizer/packages/modules/panels/src/Panel.php:105 -
Jupiter X Core70,000+ installs
do_action( 'kirki_panel_added', $this->id, $this->args )includes/customizer/vendors/kirki/packages/kirki-framework/module-panels/src/Panel.php:104 -
Envo Extra20,000+ installs
do_action( 'kirki_panel_added', $this->id, $this->args )include/packages/kirki-framework/module-panels/src/Panel.php:101 -
Futurio Extra10,000+ installs
do_action( 'kirki_panel_added', $this->id, $this->args )inc/framework/kirki-packages/module-panels/src/Panel.php:101 -
Kata Plus300+ installs
do_action( 'kirki_panel_added', $this->id, $this->args )includes/vendors/kirki/kirki-packages/module-panels/src/Panel.php:105 -
Home Improvement Companion50+ installs
do_action( 'kirki_panel_added', $this->id, $this->args )vendors/kirki/kirki-packages/module-panels/src/Panel.php:101 -
Hill Extension10+ installs
do_action( 'kirki_panel_added', $this->id, $this->args )inc/kirki/packages/kirki-framework/module-panels/src/Panel.php:101
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.