get_button_fields(); } public function render( array $attributes, string $content, $block = null ): string { $attributes = $this->parse_attributes( $attributes ); if ( ! is_null( $block ) ) { $context = $block->context; $attributes['parent_attributes'] = array( 'edFullBlockLink' => $context['affiliatex/edFullBlockLink'] ?? false, 'blockName' => $context['affiliatex/parentBlockName'] ?? 'buttons', ); } return $this->render_button_template( $attributes, $content ); } }