Tribe__Events__Editor__Blocks__Event_Price::default_attributes()
Set the default attributes of this block
Return
(array)
Source
File: src/Tribe/Editor/Blocks/Event_Price.php
public function default_attributes() {
$defaults = array(
'cost' => tribe_get_formatted_cost(),
);
return $defaults;
}
Changelog
| Version | Description |
|---|---|
| 4.7 | Introduced. |