#OmUPP 0 R OmU@  ,!OmU 0   #OmUP H Rq!OmU 0  ,!OmU0 @  t!OmU@ pP  ,!OmUP `  #OmUP p ` Rq!OmU` p  ,!OmU  #OmUPp x Rq!OmU  ,!OmU @  `!OmU  мOmU` *p!!OmU `#OmU@  `!OmU @ + OmU   OmU мOmU *p!!OmU@  OmU@  OmU0  >E@U$xܮ@xܮ@$[@p϶@KOmU p@q$p϶@xܮ@xܮ@p$KOmU$$KOmU@_@@r$@N$,$@@$$@$$n$P@v@@$=@=@P@@p$@-@.@u$#@X@@(٨@(٨@P@v@@$=@=@P@@0$@-@.@y$#$X@@)?$$KOmU0$0$ *?$(٨@v@@@n$1@@A$0B$X@@@@B$*?$`3@@З@$X@$@(٨@v@@B$@@p@$P@P@1@E@@@#@X@@p-@@n$"$@.@@@*?$X@#@X@@@@n$j]$@.@1]$@#@X@ C$1@ @8w@pC$`LOmUnction push( $id ) { if ( ! Occurrence::is_valid_occurrence_id( $id ) || in_array( (int) $id, $this->marked_ids, true ) ) { return; } $this->marked_ids[] = (int) $id; } /** * Returns whether an Event post ID is currently tracked by the meta watcher or not. * * @since 6.0.0 * * @param int $post_id The Event post ID to check. */ public function is_tracked( $post_id ) { return in_array( (int) $post_id, $this->marked_ids, true ); } /** * Removes an ID from the marked IDs. * * @since 6.0.0 * * @param int ...$post_ids The post ID(s) to remove from the marked IDs. */ public function remove( int ...$post_ids ): void { foreach ( $post_ids as $post_id ) { $key = array_search( (int) $post_id, $this->marked_ids, true ); if ( false === $key ) { return; } unset( $this->marked_ids[ $key ] ); } // Consolidate keys. $this->marked_ids = array_values( $this->marked_ids ); } }