How can I add a button to a posts page? what hook can be used to add a custom button

I’d like to place it next to, or near, the “Publish/update” button, or modify the publish button for triggering Pre-publish changes and export content from The new Gutenberg editor Blocks.

other tried approach’s.

add button to post edit page when post_status=publish

How to add a button to custom post type’s posts-page

0

Leave a Reply

Your email address will not be published. Required fields are marked *