Function Reference: geodir_event_bestof_widget_view_all_link


Filter the page link to best of widget view all lisitngs.


(string) (required) View all listings page link.

Default: None
(string) (required) The Post type.

Default: None
(object) (required) The category term object.

Default: None

Return Values

  • Link url.

Change Log

Since: 1.2.4

Source File

geodir_event_bestof_widget_view_all_link() is located in geodir_event_manager/gdevents_functions.php [Line: 2117]

Source Code

function geodir_event_bestof_widget_view_all_link($view_all_link, $post_type, $term) {
	if ($post_type == 'gd_event') {
		$view_all_link = add_query_arg(array('etype' => 'upcoming'), $view_all_link) ;
	return $view_all_link;