public function applyProfileToNewListings($profile, $items = false, $update_title = true) { // get selected items - if no items provided if (!$items) { $items = WPLE_ListingQueryHelper::getAllSelected(); } $items = $this->applyProfileToItems($profile, $items, $update_title); return $items; }