Astra_Builder_UI_Controller::render_customizer_edit_button( string $class = '' )

Prepare Edit icon inside customizer.


Description


Parameters

$class

(string) (Optional) custom class.

Default value: ''


Source

File: inc/builder/controllers/class-astra-builder-ui-controller.php

		public static function render_customizer_edit_button() {
			?>
			<div class="customize-partial-edit-shortcut" data-id="ahfb">
				<button aria-label="<?php esc_attr_e( 'Click to edit this element.', 'astra' ); ?>"
						title="<?php esc_attr_e( 'Click to edit this element.', 'astra' ); ?>"
						class="customize-partial-edit-shortcut-button item-customizer-focus">
					<?php echo self::fetch_svg_icon( 'edit' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
				</button>
			</div>
			<?php
		}

Changelog

Changelog
Version Description
3.9.4 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.