Skip to main content

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​

MethodDescription
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​

NameTypeDefaultDescription
$attributesarray[]Block attributes.

Returns​

  • string — $output Rendered shortcode.

Since: 2.0

Source: includes/gutenberg/blocks/buttons/block.php:30