Builder::pluck( string $field )
Gets the results and plucks a field from each.
Contents
Parameters
- $field
-
(string) (Required) The field to pluck.
Return
(array) The plucked values.
Source
File: src/Events/Custom_Tables/V1/Models/Builder.php
public function pluck( string $field ): array {
return wp_list_pluck( $this->get(), $field );
}
Changelog
| Version | Description |
|---|---|
| 6.0.1 | Introduced. |