This commit is contained in:
2026-07-02 15:54:39 -06:00
commit 9883323161
17470 changed files with 4470592 additions and 0 deletions
@@ -0,0 +1,26 @@
<?php
namespace Gravity_Forms\Gravity_Forms\Embed_Form\Dom;
/**
* Handle outputting the Embed Button in the UI.
*
* @since 2.6
*
* @package Gravity_Forms\Gravity_Forms\Embed_Form\Dom
*/
class GF_Embed_Button {
/**
* Output the HTML for the Embed Button.
*/
public function output_button() {
?>
<button data-js="embed-flyout-trigger" class="gform-button gform-button--white gform-button--icon-leading">
<i class="gform-button__icon gform-icon gform-icon--embed-alt" aria-hidden="true"></i>
<?php esc_html_e( 'Embed', 'gravityforms' ); ?>
</button>
<?php
}
}