Pods UI Q
-
Hi
I’m building my fields array for the edit-screen like this, where $my_custom_html is an html table declared earlier in the code:$fields = array( 'name', 'permalink', 'my_custom_section' => array( ..?... => $my_custom_html), // ? 'date', 'author', );
And then I build the ui object like this:
$object->ui = array( 'item' => 'invoice', 'items' => 'invoices', 'fields' => array( 'add' => $fields, 'edit' => $fields, 'duplicate' => $fields, 'manage' => $manage_fields, ),
But i can’t figure out how to insert my own html when building the $fields array
Cheers
Bonsak
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Pods UI Q’ is closed to new replies.