You appear to be a bot. Output may be restricted
Description
Usage
OIK_fields_groups::get_field_values( $post );
Parameters
- $post
- ( mixed ) required –
Returns
voidTO DO
This only works for the field property, not the field post_metaSource
File name: oik-fields/includes/class-oik-fields-groups.phpLines:
1 to 8 of 8
function get_field_values( $post ) { $field = $this->field; if ( property_exists( $post, $field ) ) { $this->field_values = array( $post->$field ); } else { $this->get_post_meta( $post ); } }View on GitHub