public function incoming_users($args = array()) { global $meow_provider, $wf; $user_ids = $meow_provider->incoming($this, WOOF::array_arg($args, "for"), "user"); $this->incoming = array(); if (count($user_ids)) { // if there are no matching user ids, don't query, return an empty array $defaults = array( ); $r = wp_parse_args( $args, $defaults ); $r = array_merge( $r , array("include" => $user_ids)); return $wf->users( $r ); } else { return new WOOF_Collection( array() ); } }