WP_Customize_Manager::export_header_video_settings() WordPress Method

The WP_Customize_Manager::export_header_video_settings() is a Wordpress method used to export header video settings. This method can be used to export settings for the video header feature in Wordpress.

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

Exports header video settings to facilitate selective refresh.


Parameters

$response

(array)(Required)Response.

$selective_refresh

(WP_Customize_Selective_Refresh)(Required)Selective refresh component.

$partials

(array)(Required)Array of partials.


Top ↑

Return

(array)


Top ↑

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
VersionDescription
4.7.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More