acf_form_customizer::__construct
This function will setup the class functionality
Method of the class: acf_form_customizer{}
No Hooks.
Returns
n/a.
Usage
$acf_form_customizer = new acf_form_customizer(); $acf_form_customizer->__construct();
Changelog
| Since 5.0.0 | Introduced. |
acf_form_customizer::__construct() acf form customizer:: construct code ACF 6.8.8
function __construct() {
// actions
add_action( 'customize_controls_init', array( $this, 'customize_controls_init' ) );
add_action( 'customize_preview_init', array( $this, 'customize_preview_init' ), 1, 1 );
add_action( 'customize_save', array( $this, 'customize_save' ), 1, 1 );
// save
add_filter( 'widget_update_callback', array( $this, 'save_widget' ), 10, 4 );
}