Callback for sanitizing the external_header_video value.
$valuestringrequired
public function _sanitize_external_header_video( $value ) {
return sanitize_url( trim( $value ) );
}
| Version | Description |
|---|---|
| 4.7.1 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_manager/_sanitize_external_header_video