GravityKit\GravityCalendar\Gutenberg\Blocks\Block\Buttons
Calendar copy button block.
Since: 2.0
Source: includes/gutenberg/blocks/buttons/block.php:17
Details
- Kind:
class - Namespace:
GravityKit\GravityCalendar\Gutenberg\Blocks\Block - Extends:
Block
Methods
| Method | Description |
|---|---|
render() | Generates [gv_calendar_export_button] and/or [gv_calendar_copy_button] shortcodes. |
Method Reference
render()
static function render( $attributes=[] ): string
Generates [gv_calendar_export_button] and/or [gv_calendar_copy_button] shortcodes.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$attributes | array | [] | Block attributes. |
Returns
string— $output Rendered shortcode.
Since: 2.0
Source: includes/gutenberg/blocks/buttons/block.php:30