Astra_Addon_Builder_UI_Controller::render_divider_markup( string $index = 'header-divider-1' )

Prepare divider Markup.


Description


Parameters

$index

(string) (Optional) Key of the divider Control.

Default value: 'header-divider-1'


Source

File: classes/builder/type/base/controllers/class-astra-addon-builder-ui-controller.php

		public static function render_divider_markup( $index = 'header-divider-1' ) {

			$layout = astra_get_option( $index . '-layout' );
			?>

			<div class="ast-divider-wrapper ast-divider-layout-<?php echo esc_attr( $layout ); ?>">
				<?php
				if ( is_customize_preview() ) {
					self::render_customizer_edit_button();
				}
				?>
				<div class="ast-builder-divider-element"></div>
			</div>

			<?php
		}


User Contributed Notes

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