Astra_Addon_Builder_UI_Controller::render_customizer_edit_button()
Prepare Edit icon inside customizer.
Description
Source
File: classes/builder/type/base/controllers/class-astra-addon-builder-ui-controller.php
public static function render_customizer_edit_button() { if ( ! is_callable( 'Astra_Builder_UI_Controller::fetch_svg_icon' ) ) { return; } ?> <div class="customize-partial-edit-shortcut" data-id="ahfb"> <button aria-label="<?php esc_attr_e( 'Click to edit this element.', 'astra-addon' ); ?>" title="<?php esc_attr_e( 'Click to edit this element.', 'astra-addon' ); ?>" class="customize-partial-edit-shortcut-button item-customizer-focus"> <?php echo Astra_Builder_UI_Controller::fetch_svg_icon( 'edit' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> </button> </div> <?php }
Expand full source code Collapse full source code View on Trac