Astra_Header_Search_Component_Loader::get_search_markup( string $search_markup, string $option = '', string $device = '' )

Adding Wrapper for Search Form.


Description


Parameters

$search_markup

(string) (Required) Search Form Content.

$option

(string) (Optional) Search Form Options.

Default value: ''

$device

(string) (Optional) Device Desktop/Tablet/Mobile.

Default value: ''


Return

(Search) HTML structure created.


Source

File: inc/builder/type/header/search/class-astra-header-search-component-loader.php

	public static function get_search_markup( $search_markup, $option = '', $device = '' ) {

		if ( is_customize_preview() ) {
			Astra_Builder_UI_Controller::render_customizer_edit_button();
		}

		return $search_markup;
	}

Changelog

Changelog
Version Description
3.0.0 Introduced.


User Contributed Notes

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