Hooks::filter_view_repository_args( array $args, Tribe__Context $context )
Filters a View repository args to add the filters ones.
Contents
Parameters
- $args
-
(array) (Required) An array of repository arguments.
- $context
-
(Tribe__Context) (Required) The View context instance.
Return
(array) The filtered array of View repository arguments.
Source
File: src/Tribe/Views/V2/Hooks.php
public function filter_view_repository_args( array $args, Context $context ) { return $this->container->make( Filters\Factory::class )->for_repository_args( $args, $context ); }
Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |