public function remove_item( $title = '', $link = '' ) {
		// If both title and link are specified, search for exact match.
		$all_items = $this->get_items();
		foreach ( $all_items as $items_priority => $items ) {
			foreach ( $items as $item_key => $item ) {
				if ( 0 === strcasecmp( $item->get_title(), $title ) && 0 === strcasecmp( $item->get_link(), $link ) ) {
					// If we have a match, remove that item.
					unset( $all_items[ $items_priority ][ $item_key ] );
				}
			}
		}

		// Update the items.
		$this->set_items( $all_items );
	}