ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ@çæò0V€çæò0VÀçæò0Vèæò0V@èæò0V€èæò0VÀèæò0Véæò0V@éæò0V€éæò0VÀéæò0Vêæò0V@êæò0V€êæò0VÀêæò0Vëæò0V@ëæò0V€ëæò0VÀëæò0Vçæò0VNvÿÿÿÿering just for when applied the Events Only Modifier. * * @since 6.0.2 * * @param WP_Query|null $wp_query A reference to the `WP_Query` instance that is currently running. * @param array|null $posts The filter input value, it could have already be filtered by other * plugins at this stage. */ return apply_filters( 'tec_events_custom_tables_v1_events_only_modifier_filter_posts_pre_query', $posts, $wp_query ); } /** * {@inheritDoc} * * @since 6.0.0 */ public function unhook() { remove_filter( 'posts_pre_query', [ $this, 'filter_posts_pre_query' ], 100 ); } /** * {@inheritDoc} * * @since 6.0.0 * * @param WP_Query|null $query A reference to the `WP_Query` instance to check. * * @return bool Whether the `WP_Query` instance is the target one or not. */ protected function is_target_query( ?WP_Query $query = null ) { /** * Filters whether this modifier should modify the query. * * @since 6.0.5 * * @param bool $should_filter Should filter, defaults to rely on internal logic whether to modify. * @param WP_Query $query The query object. * @param Base_Modifier $modifier The modifier being used to filter the query. */ return apply_filters( 'tec_events_custom_tables_v1_query_modifier_applies_to_query', parent::is_target_query( $query ), $query, $this ); } }