Search Results Page Title Label

Since Easy Property Listings 3.0 the archive title for the listing results page have been re-written into a single action hook and used in the  archive-listing.php template file.

 <?php do_action( 'epl_the_archive_title' ); ?>

This function that outputs the title to this hook is:


Search Result Label Filter

This function contains the search result label filter:


Example function to modify the title:

function my_epl_archive_title_search_result( $label ) {
	$label = 'My Search Result Title';
	return $label;
add_filter( 'epl_property_search_not_found_title' , 'my_epl_archive_title_search_result' );

Using these filters you can modify the labels.