FrmProEntriesController::get_field_value_shortcode(array('field_id' => x, 'entry' => $entry_id));
This is the code I was referencing.
To give a little more context into what I'm trying to do.
I'm using a view to create an admin page for approvals of entries. I'm adding a link/button which will trigger the approval. The caveat is that my function, which is triggered on approval, needs to pull information from the entries.
I can create a shortcode for the function with the various field IDs used as attributes but I can't connect this to a link/button in the view.
What I need is to be able to pull the information into my function within code snippets and create an onclick HTML event separately which I can use in the view.
I may have to go back to the drawing board on how I'm approaching this as I think I may have hit a dead end.
Please login or Register to submit your answer