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:

functions.php
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.

  1. Aitasi Coming Soon icon Aitasi Coming Soon900+ installs do_action( 'cs_customize_register' ) admin/codestar-framework/classes/customize.class.php:63
  2. Business Template Blocks for WPBakery (Visual Composer) Page Builder icon Business Template Blocks for WPBakery (Visual Composer) Page Builder60+ installs do_action( 'cs_customize_register', $wp_customize ) inc/framework/classes/customize.class.php:65
  3. Easy Woocommerce Customizer icon Easy Woocommerce Customizer50+ installs do_action( 'cs_customize_register' ) options/classes/customize.class.php:63
  4. Post Slider icon Post Slider20+ installs do_action( 'cs_customize_register' ) cs-framework/classes/customize.class.php:63
  5. Nasim Persian Maker icon Nasim Persian Maker20+ installs do_action( 'cs_customize_register' ) classes/customize.class.php:63
  6. My Right Horse icon My Right Horse10+ installs do_action( 'cs_customize_register', $wp_customize ) classes/customize.class.php:65
  7. Back Top icon Back Top10+ installs do_action( 'cs_customize_register', $wp_customize ) setting-page/classes/customize.class.php:65
  8. CC Manga Comic Reader icon CC Manga Comic Reader10+ installs do_action( 'cs_customize_register', $wp_customize ) lib/codestar-framework/classes/customize.class.php:65
  9. Essential Hover Effects icon Essential Hover Effects10+ installs do_action( 'cs_customize_register', $wp_customize ) admin/framework/classes/customize.class.php:65
  10. Awesome WordPress Slider icon Awesome WordPress Slider10+ installs do_action( 'cs_customize_register' ) inc/cs-framework/classes/customize.class.php:63
  11. Amazing Portfolio icon Amazing Portfolio10+ installs do_action( 'cs_customize_register', $wp_customize ) inc/framework/classes/customize.class.php:65
  12. Ultimate Carousel icon Ultimate Carousel10+ installs do_action( 'cs_customize_register', $wp_customize ) inc/framework/classes/customize.class.php:65
  13. All in All Image Hover Effect icon All in All Image Hover EffectFewer than 10 installs do_action( 'cs_customize_register', $wp_customize ) cu-framework/classes/customize.class.php:65
  14. Electro Pricing Tables Lite icon Electro Pricing Tables LiteFewer than 10 installs do_action( 'cs_customize_register' ) lib/codestar-framework-1.0.1/classes/customize.class.php:63
  15. RS Coming Soon icon 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.