How do I add a custom button to my “edit” list? ( edit.php?post_type= ) beside “Add New”


I have a custom post type for a plugin I’m creating and the label for the “add an item” type of button (at the top of the list page) needs a partner-button that says “import” and one that says “export” so that I can (after a brief confirmation dialogue) allow my client to push and pull the records with a JSON file that is already all set up; I just need them to be able to trigger it and I can’t figure out how to add buttons to the list page.

A screenshot of the button on the edit list

So I need to add “Import” and “Export” after the “Add an Entry” button.

Any help is greatly appreciated.

M. Sage 2 months 0 Answers 5 views 0

Leave an answer