Astra_Ext_Adv_Search_Markup::header_builder_default_strings( array $strings )

Add default strings


Description


Parameters

$strings

(array) (Required) Default strings array.


Source

File: addons/advanced-search/classes/class-astra-ext-adv-search-markup.php

		public function header_builder_default_strings( $strings ) {

			$search_string = astra_get_option( 'header-search-box-placeholder' );

			$strings['string-header-cover-search-placeholder'] = esc_attr( $search_string );
			$strings['string-search-input-placeholder']        = esc_attr( $search_string );
			$strings['string-full-width-search-placeholder']   = esc_attr( $search_string );

			return $strings;
		}

Changelog

Changelog
Version Description
3.1.0 Introduced.

User Contributed Notes

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