apply_filters( 'tribe_events_virtual_video_source_placeholder_text', string $text )
Allows filtering of the default placeholder text for the URL field.
Contents
Parameters
- $text
-
(string) The current placeholder text.
More Information
This filter allows you to change the placeholder text on the admin area. Inside the input where you paste the video address.
add_filter('tribe_events_virtual_video_source_placeholder_text', 'custom_video_source_placeholder_text');
function custom_video_source_placeholder_text() {
$text = "Paste your Video URL here";
return $text;
}
Source
File: src/Tribe/Event_Meta.php
Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |