I have a Custom Post Type that I'm doing some custom work for. I want to attach some custom functionality to the post type once it's created but an admin can only trigger the custom action from the dashboard.
I need the custom button to run a function in functions.php which will create X amount of entries in a custom table on the mysql database and then return the values. I'll use an input next to the button to decide X's value.
I'll be fine with the php + sql + ajax but I just don't know a non-hack way to get the custom inputs to show up on the edit page. Any ideas?