wordpress-develop icon indicating copy to clipboard operation
wordpress-develop copied to clipboard

Added new do_action `wp_admin_after_add_new_button `

Open saad-siddique opened this issue 9 months ago • 3 comments

I recently encountered an issue where adding a button such as "Import" was impossible without JS manipulation (which is hackish). Adding this do_action will allow me and other users to dynamically add a button on the screen for custom post types.

Trac ticket: https://core.trac.wordpress.org/ticket/61225#ticket


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

saad-siddique avatar May 15 '24 22:05 saad-siddique