WordPress action hook
cs_customize_register
Fired by 15 WordPress plugins, running on 1,120+ sites between them.
How to use cs_customize_register
It's an action: your callback runs at that point and receives 1 argument. Nothing needs to be returned.
Add this to your theme's functions.php or a small custom plugin:
add_action( 'cs_customize_register', function( $wp_customize ) {
// Your code runs here.
}, 10, 1 );Argument names come from Business Template Blocks for WPBakery (Visual Composer) Page Builder's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
15 plugins that fire cs_customize_register
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Aitasi Coming Soon900+ installs
do_action( 'cs_customize_register' )admin/codestar-framework/classes/customize.class.php:63 -
Business Template Blocks for WPBakery (Visual Composer) Page Builder60+ installs
do_action( 'cs_customize_register', $wp_customize )inc/framework/classes/customize.class.php:65 -
Easy Woocommerce Customizer50+ installs
do_action( 'cs_customize_register' )options/classes/customize.class.php:63 -
Post Slider20+ installs
do_action( 'cs_customize_register' )cs-framework/classes/customize.class.php:63 -
Nasim Persian Maker20+ installs
do_action( 'cs_customize_register' )classes/customize.class.php:63 -
My Right Horse10+ installs
do_action( 'cs_customize_register', $wp_customize )classes/customize.class.php:65 -
Back Top10+ installs
do_action( 'cs_customize_register', $wp_customize )setting-page/classes/customize.class.php:65 -
CC Manga Comic Reader10+ installs
do_action( 'cs_customize_register', $wp_customize )lib/codestar-framework/classes/customize.class.php:65 -
Essential Hover Effects10+ installs
do_action( 'cs_customize_register', $wp_customize )admin/framework/classes/customize.class.php:65 -
Awesome WordPress Slider10+ installs
do_action( 'cs_customize_register' )inc/cs-framework/classes/customize.class.php:63 -
Amazing Portfolio10+ installs
do_action( 'cs_customize_register', $wp_customize )inc/framework/classes/customize.class.php:65 -
Ultimate Carousel10+ installs
do_action( 'cs_customize_register', $wp_customize )inc/framework/classes/customize.class.php:65 -
All in All Image Hover EffectFewer than 10 installs
do_action( 'cs_customize_register', $wp_customize )cu-framework/classes/customize.class.php:65 -
Electro Pricing Tables LiteFewer than 10 installs
do_action( 'cs_customize_register' )lib/codestar-framework-1.0.1/classes/customize.class.php:63 -
RS Coming SoonFewer than 10 installs
do_action( 'cs_customize_register' )admin/classes/customize.class.php:63
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.