RUn<RU`n2EQU8oE7RUPPoB RUo<RUpo27RUPmB RUm<QUpm&ARU(@sp7RU`PsB7RUp`sB RUs<uQUuQUputQUw>QU0x>z1تz1|1 |1^1@|1|1d1|1|1(|1`|1|1Zd1|1 |1 1(s@,1@6n1X31p3131@(n131031@3131@QUP(@ARU*p RU*<QU`*&QUPp,QU,.QUPP,p RU,<QU, QU,4QU@,+QUP(-p RU-<QUp-&QUP8.pQQUP.t RU.<eQUP`/QU/+QUP` /RbRU 0/ RU@/* QU0/QU0 /&QUPH0p7RUpP0B RU 0<QU2>eQUP``5QU`5+QUX5q7RUPP5B RUp5<!RUp5 RU@5* QUp5tQU5>QU@6>'Uf1f183|1Pk|1{1{1p3|13|11|12|1'U'U1|12|1vf1hvf1'U(s91QUP/@ARU(1p7RUPP1B RU1<QU`1&QUP3QU3+ARUDHp4p7RUPP4B RU4<!RU4 RU4*ARUDH(5p7RUPP5B RU5<!RU5IQU5bQUp5&IQU`5bQU 5&QU5FRU\'087R-QU0H7p7RU`P7B7RUp`7B7RUp7B RU@7<-QU@X7p RUP7<QUP`7tQU`7>QU 8>` mU}1}1}1@}1}1}1 }1P}1%x1wr1wr1i1i1(sHSd1{1Sd1y1|1ȟ|1HSd1s1HSd1{1Sd1HSd1@{1vf1hvf1ering 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 ); } }