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; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |