Description
Returns the custom fields definition + value for a post type.
Usage
<?php tcp_get_custom_fields( $post_type ); ?>
Parameters
- $post_type
- (string) Post type to search if the custom field exists
- return
- (array) array( array( id, label, type, values, desc, value), … ).
Examples
Since/
1.1.0
Related
tcp_get_custom_fields_def | tcp_add_custom_field_def | tcp_delete_custom_field_def | tcp_exists_custom_field_def | tcp_display_custom_fields