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



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.