Description
Displays custom fields of a given post/product or the current post/product. In the last case this tag must be within The Loop.
Usage
<?php tcp_display_custom_fields( $post_id ); ?>
or
<?php tcp_display_custom_fields(); ?>
Parameters
- $post_id
- (Integer) The ID of the post/product you’d like to display its custom fields. Defaults to the current post/product. In this case this tag must be within The Loop.
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