There is an action before the Trash link: post_submitbox_start.
You can use it to add content to that box. The Trash has a float:left, so it will move to the side.
Example:
add_action( 'post_submitbox_start', function() {
print '<button>Hey!</button>';
});
Result:
Related Posts:
- How can I create custom button in post.php
- WordPress plugin to publish to multiple remote WordPress blogs
- Using Custom Posts with Metaboxes and Drop-downs
- How to rename “Publish” metabox title in post screen
- Adding custom fields to bbpress reply form
- Calling Different Custom Post Timestamps in a table
- Is there a way to create a meta box that can be added multiple times to a post dynamically?
- How can I tell if a post has been published at least once?
- Simple Custom Metabox Not Saving
- Adding an option to post editor to show a site disclaimer or message
- Meta boxes not saving
- Display metabox with date
- Find out who deleted a page or post?
- Setting Custom Sort Order of Posts within a Category
- Can I force a metabox to be in one column?
- Custom permalink structure only for default posts
- Replace image attributes for lazyload plugin (data-src)
- Exclude drafts in all() view of edit.php
- Post publish only hook?
- Any way to create a revision of a post ONLY with a new button in the Meta Box?
- upload image in a meta box
- How to display comments and comment form on custom post type?
- adding a custom css class to post
- Prevent duplicate posts in wp_insert_post using custom fields
- multicheck box for post metabox
- Custom post type single (permalink) throws a 404 error
- Have save_post write to database image meta [closed]
- display order of connections
- same template for multiple custom post type single
- Using radio button meta data from a custom meta box
- How to place HTML below the title of the (custom) post overview
- How to get a nofication when post submitted
- Is there any WordPress alternative to Book module of Drupal?
- .current-menu-item class on custom post type children pages – again?
- Display page content AFTER a loop of posts
- Run a function when post is deleted?
- How to start with post number x?
- how to replace embedded “full” sized images within a post with the “large” ones
- Downgrade user from role that allows post creation
- Animated gif for a thumbs
- Deleted category by mistake, all posts now have categorized category. Can i revert that?
- Automatically Updating Publish Date Bug
- I am unable to publish/update post
- Delete post by giving its link
- Get posts of ONE taxonomy term of custom post type
- WordPress Custom Fields (Checkboxes with multiple values)
- How to make classes for posts?
- Custom Post Archive Page not working
- Adding buttons to Add New Post and Add New Page
- How to switch wordpress post status between publish and schedule in MySQL?
- Getting Custom Post Loop to display in Bootstrap 3 column grid
- WordPress custom Query for Posts in Category display posts multiple times
- ERROR: Your feed is invalid (after update WP4.7) in custom types
- Editing the default page to show all posts, rather than most recent ones
- How could I change my Permalink from blog to custom structure? [closed]
- WP Admin register taxonomy and post type performance
- Add a custom meta box in the post options that loads some html code in the header
- Static posts page with home.php
- How do I manage my users post before publish?
- Is it possible to customize the post according to post format in single.php?
- Using setup_postdata() with multi-dimensional array
- Display password protected posts to logged in users
- I want to print a message in post ” After one month from publish date”
- WordPress bulk category select when publishing post
- Display the 2nd category name of a custom post type without error if its null?
- Querying another post category to match current post and display in loop
- Post: how to set created date after post has been published [closed]
- datepicker value in mysql
- How to restore deleted post related with deleted users
- Custom Post Type Single Loop Outputting Wrong Post
- How to output all taxonomy links from a custom post type in a menu?
- Can I style single post that are in multiple catergories?
- WordPress Post Deletion Issue
- How Can I Always Display A Particular Post First Using WP_Query?
- MySQL: Possible to replace all of wp_posts.post_content(id#) via UPDATE + REPLACE + SELECT?
- Change modified date to current date when title updated automatically
- How to put the author of the post in the comments?
- Send email to user when I publish a new post
- Go back to the exact post page number
- How to add a custom class attribute into code wrapper? [duplicate]
- Redirecting wordpress search query to archive page
- How to invoke a HTML custom button based on a HTML dropdownlist menu
- post is not showing more than 3949 words
- Custom Post Type Rewrite URL
- Custom Post Types and Broken Permalinks
- The first post appears twice
- Customizing URL slugs of Custom Post Type and Taxonomy make posts/pages 404
- Show Posts By Custom Field
- How to retrieve custom field values and save again as array
- Is there a Standard Format for Clean URLs for Archives of Custom Posts?
- Customize search results to include custom posts and display in a specific template page
- Custom permalink based on custom post type fields
- Checking if some condition is matched before inserting post into database
- Custom Post Title as search term
- How remove “recent comments” title without modifying code? [closed]
- Return All Post from publish to draft [duplicate]
- How edit footer copyright info? [closed]
- Dynamic Menu Item
- I have a website issue I am trying to resolve
- Download button under all images WordPress
