i4w_wpcf

Usage:

This shortcode provides a simple mechanism to display the content of a WordPress custom field in a post or page.

This shortcode does NOT supports conditional branching with [ELSE_wpcf].

Shortcode nesting is NOT supported.

Parameters:

post_id The page/post ID of the page or post from which the custom field is to be retrieved.
Default: current page/post.
Required: No.
field The name of the custom field to be used.
Required: Yes.

Example:

[i4w_wpcf field='wp_custom_field']
[i4w_wpcf post_id='1234' field='wp_custom_field']

API:

There is no API function equivalent for this shortcode.