Builder::pluck( string $field )

Gets the results and plucks a field from each.


Parameters

$field

(string) (Required) The field to pluck.


Top ↑

Return

(array) The plucked values.


Top ↑

Source

File: src/Events/Custom_Tables/V1/Models/Builder.php

	public function pluck( string $field ): array {
		return wp_list_pluck( $this->get(), $field );
	}

Top ↑

Changelog

Changelog
Version Description
6.0.1 Introduced.