Tribe__Events__Editor__Blocks__Event_Website::default_attributes()
Set the default attributes of this block
Return
(array)
Source
File: src/Tribe/Editor/Blocks/Event_Website.php
public function default_attributes() {
$defaults = array(
'urlLabel' => esc_html__( 'Add Button Text', 'the-events-calendar' ),
'href' => tribe_get_event_website_url(),
);
return $defaults;
}
Changelog
| Version | Description |
|---|---|
| 4.7 | Introduced. |