WP_Customize_Manager::export_header_video_settings( array $response, WP_Customize_Selective_Refresh $selective_refresh, array $partials )

Export header video settings to facilitate selective refresh.


Description Description


Parameters Parameters

$response

(array) (Required) Response.

$selective_refresh

(WP_Customize_Selective_Refresh) (Required) Selective refresh component.

$partials

(array) (Required) Array of partials.


Top ↑

Return Return

(array)


Top ↑

Source Source

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;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
4.7.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.