Function Reference: geodir_search_form_submit_button
Summary
This function has not been documented yet.
Filters
‘geodir_search_default_search_button_text’ [Line: 2302]
Source File
geodir_search_form_submit_button() is located in geodirectory-functions/custom_functions.php [Line: 2280]
Source Code
function geodir_search_form_submit_button() { $new_style = get_option( 'geodir_show_search_old_search_from' ) ? false : true; if ( $new_style ) { $default_search_button_label = ''; }else{ $default_search_button_label = 'Search'; } if ( get_option( 'geodir_search_button_label' ) && get_option( 'geodir_search_button_label' ) != 'Search' ) { $default_search_button_label = __( get_option( 'geodir_search_button_label' ), 'geodirectory' ); } /** * Filter the default search button text value for the search form. * * This text can be changed via an option in settings, this is a last resort. * * @since 1.5.5 * * @param string $default_search_button_label The current search button text. */ $default_search_button_label = apply_filters( 'geodir_search_default_search_button_text', $default_search_button_label ); $fa_class = ''; if ( strpos( $default_search_button_label, '' ) !== false ) { $fa_class = 'fa'; } if ( $new_style ) { ?>