{searchresults}' )
, 'description_tag' => 'span'
, 'label' => ''
, 'class' => ''
, 'css' => ''
, 'group' => $group_key
, 'tr_class' => $group_key . '_standard_section wpbc_search_availability_form'
, 'only_field' => false
, 'attr' => array()
, 'value' => '{searchresults} ' . __('Result(s) Found','booking')
)
);
}
/**
* Shortcode Field: Header in search results: '{searchresults} Result(s) Found'
*
* @param $id
* @param $group_key
*
* @return void
*/
function wpbc_shortcode_config_fields__searchavailability_text_nothing_found ($id , $group_key ){
WPBC_Settings_API::field_text_row_static( $id
, array(
'type' => 'text'
, 'placeholder' => __( 'Example', 'booking' ). ': ' . __('Nothing Found','booking')
, 'title' => __( 'Nothing Found Message', 'booking' )
, 'description' => __( 'Type the message, when nothing found.', 'booking' )
, 'description_tag' => 'span'
, 'label' => ''
, 'class' => ''
, 'css' => ''
, 'group' => $group_key
, 'tr_class' => $group_key . '_standard_section wpbc_search_availability_form'
, 'only_field' => false
, 'attr' => array()
, 'value' => __('Nothing Found','booking')
)
);
}
/**
* Shortcode Fields: OPTION - "Define External URL for search results"
*
* @param $id
* @param $group_key
*
* @return void
*/
function wpbc_shortcode_config_fields__searchresults_new_page( $id , $group_key ){
// ---------------------------------------------------------------------------------------------------------
WPBC_Settings_API::field_checkbox_row_static( $id . '_enabled'
, array(
'type' => 'checkbox'
, 'title' => __('Search results on new page', 'booking')
, 'description' => __('Check this box to show search results on other page', 'booking')
, 'description_tag' => 'span'
, 'label' => ''
, 'class' => ''
, 'css' => ''
, 'attr' => array()
, 'group' => $group_key
, 'tr_class' => $group_key . '_standard_section wpbc_sub_settings_grayed wpbc_search_availability_form'
, 'only_field' => false
, 'is_new_line' => false
, 'value' => false
)
);
?>