apply_filters( 'tribe_events_virtual_video_source_placeholder_text', string $text )

Allows filtering of the default placeholder text for the URL field.


Parameters

$text

(string) The current placeholder text.


Top ↑

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

Top ↑

Source

File: src/Tribe/Event_Meta.php


Top ↑

Changelog

Changelog
Version Description
1.0.0 Introduced.