bp_customize_register

Fire the 'bp_customize_register' action when the Customizer has loaded, allowing scripts and styles to be initialized.

Description

bp_customize_register( (WP_Customize_Manager) WP_Customize_Manager $customizer ); 

Parameters (1)

0. $customizer (WP_Customize_Manager) => WP_Customize_Manager $customizer
Customizer instance.

Usage

  1. if ( !function_exists( 'bp_customize_register' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-core/bp-core-dependency.php'; 
  3.  
  4. // Customizer instance. 
  5. $customizer = WP_Customize_Manager $customizer; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bp_customize_register($customizer); 
  9.  

Defined (1)

The function is defined in the following location(s).

/bp-core/bp-core-dependency.php  
  1. function bp_customize_register( WP_Customize_Manager $customizer ) { 
  2.  
  3. /** 
  4. * Fires once the Customizer has loaded, allow scripts and styles to be initialized. 
  5. * @since 2.5.0 
  6. * @param WP_Customize_Manager $customizer Customizer instance. 
  7. */