Not sure if explaining correctly. I want something like this:
function my_custom_function( $item, $inventory_id ) {
//some code to do user drop down and get that in a variable.
Echo variable;
}
add_action( ‘wpim_admin_edit_form_after_media’, ‘my_custom_function’, 10, 2 );
Now how would I save the selection? I can add a field to the edit page, but it does not save the data once you leave the page.
Is there any way to use these: https://www.wpinventory.com/documentation/developer-documentation/actions/item-management/wpim_admin_edit_after_field/
Trying to add a user drop down field but don’t know how to save the selection in the entry.
I want to be able to display a user list in each items admin pages. The problem I’m having is the actions don’t save the selection (even if it’s just text). Is there an easy way to add a field AND save the data in the entry?
Looking into the paid version for my company, but I need to add this in for a proof of concept first.