The view. */ public function set_context_for_views_v2_setup_loop( $view ) { // We need further context to determine if we should hide the end time for a particular area. $this->end_time_modifier->set_context( $view->get_context() ); } /** * Sets the context for the views v2 end time view modifier. * * @since 6.4.1 * * @param string $html The HTML to be filtered. * @param string $view_slug The view slug. * @param array $query The query. * @param array $context The context. */ public function set_context_for_views_v2_endtime( $html, $view_slug, $query, $context ) { // We need further context to determine if we should hide the end time for a particular area. $this->end_time_modifier->set_context( $context ); } }