Uses
Uses | Description |
---|---|
wp-includes/theme.php: get_header_video_settings() | Retrieves header video settings. |
Export header video settings to facilitate selective refresh.
(array) (Required) Response.
(WP_Customize_Selective_Refresh) (Required) Selective refresh component.
(array) (Required) Array of partials.
(array)
File: wp-includes/class-wp-customize-manager.php
public function export_header_video_settings( $response, $selective_refresh, $partials ) { if ( isset( $partials['custom_header'] ) ) { $response['custom_header_settings'] = get_header_video_settings(); } return $response; }
Version | Description |
---|---|
4.7.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_manager/export_header_video_settings