WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Admin\API\Reports

Segmenter::get_all_segments() protected WC 1.0

Return all segment ids for given segmentby query parameter.

{} It's a method of the class: Segmenter{}

No Hooks.

Return

Array.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_all_segments();

Code of Segmenter::get_all_segments() WC 6.1.0

protected function get_all_segments() {
	if ( ! is_array( $this->all_segment_ids ) ) {
		$this->set_all_segments();
	}

	return $this->all_segment_ids;
}