Get field properties
Parameter |
Required |
Type |
Notes |
$field_name |
N |
mixed |
Enter a field name, or FALSE for all fields |
$post_id |
N |
mixed |
Enter a post ID, or FALSE to use the current post ID |
Examples
Get a field label
Get a field label (alternate)
Get all field properties (as an associative array)
Output all choices for a select field