WP_Customize_Nav_Menus::customize_preview_enqueue_deps() WordPress Method
The WP_Customize_Nav_Menus::customize_preview_enqueue_deps() method is used to enqueue the necessary dependencies for the Customizer preview pane for the menus feature.
WP_Customize_Nav_Menus::customize_preview_enqueue_deps() #
Enqueues scripts for the Customizer preview.
Source
File: wp-includes/class-wp-customize-nav-menus.php
public function customize_preview_enqueue_deps() { wp_enqueue_script( 'customize-preview-nav-menus' ); // Note that we have overridden this. }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.3.0 | Introduced. |