Function Reference: geodir_2017_remove_header

Summary

This function has not been documented yet.

Source File

geodir_2017_remove_header() is located in geodirectory-functions/compatibility/Twenty_Seventeen.php [Line: 5]

Source Code

function geodir_2017_remove_header($html, $post_ID, $post_thumbnail_id, $size, $attr){
	if($size=='twentyseventeen-featured-image'){

		if(geodir_is_page('detail') || geodir_is_page('add-listing')){
			$html = '';// nothing up top
		}

	}

	return $html;
}