05/02/2018 at 6:29 pm
#461127
Participant
Good evening Steven
thank you for quick response.
Let me rephrase my question –
becuase I am dealing with multiple field within a metabox, where do I add additional field within this code?
$text = $entry->getMeta(
array(
'key' => 'field_id', // This should match exactly the field id used when registering the custom field.
'single' => TRUE // Do not change this.
)
);
if ( ! empty( $text ) ) echo '' . esc_html( $text ) . '';
will I have to duplicate the below and change the field_id to correspond with each field_id?
'key' => 'field_id', // This should match exactly the field id used when registering the custom field.
and when this is done, in the exp`enter code here`ort and import code snippets, I assume I am repeating the below:
‘field’ => ‘field_mn’, // The field_id should match exactly the field id used when registering the custom field.
‘type’ => 5,
‘fields’ => ”,
‘table’ => CN_ENTRY_TABLE_META,
‘types’ => NULL,
