WP_Customize_Manager::_sanitize_external_header_video( string $value ): string

Callback for sanitizing the external_header_video value.


Parameters

$value string Required
URL.

Top ↑

Return

string Sanitized URL.


Top ↑

Source

File: wp-includes/class-wp-customize-manager.php. View all references

public function _sanitize_external_header_video( $value ) {
	return sanitize_url( trim( $value ) );
}


Top ↑

Changelog

Changelog
Version Description
4.7.1 Introduced.

Top ↑

User Contributed Notes

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