Hooks::filter_view_repository_args( TribeEventsProViewsV2array $repository_args, Tribe__Context $context )

Filters the View repository args to add the ones required by shortcodes to work.


Parameters

$repository_args

(<span class="TribeEventsProViewsV2array">TribeEventsProViewsV2array) (Required) An array of repository arguments that will be set for all Views.

$context

(Tribe__Context) (Required) The current render context object.


Top ↑

Return

(TribeEventsProViewsV2array<string,mixed>) The filtered repository arguments.


Top ↑

Source

File: src/Tribe/Views/V2/Hooks.php

	public function filter_view_repository_args( $repository_args, $context ) {
		return $this->container->make( Shortcodes\Tribe_Events::class )->filter_view_repository_args( $repository_args, $context );
	}

Top ↑

Changelog

Changelog
Version Description
4.7.9 Introduced.