Widget_View::setup_the_loop( array|null $args = array() )
Modify the setup the loop method to only set the repository arguments.
Contents
Parameters
- $args
-
(array|null) (Optional) An array of associative arguments used to setup the repository for the View.
Default value: array()
Source
File: src/Tribe/Views/V2/Views/Widgets/Widget_View.php
public function setup_the_loop( array $args = [] ) {
$args = wp_parse_args( $args, $this->repository_args );
$this->repository->by_args( $args );
tribe_asset_enqueue_group( TEC_Assets::$widget_group_key );
}
Changelog
| Version | Description |
|---|---|
| 5.3.0 | Introduced. |