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