I made a lot of changes to my WP settings and now, when I approve and publish pending posts, authors have one hour to modify their articles.
After the hour has gone the edit link disappear and they can’t change anymore.
I need to give them the opportunity to remove the post but the “trash” link has gone either.
I’ve been thinking about adding a new text link under the post title to let the authors send me a message asking to delete the post.
The text link should have the name of the post as subject in order to understand wich post need to be removed.
Is this possible?
Thanks
Leave a Reply
You must be logged in to post a comment.
You can enhance, change the strings to each post title in the table view of backend on post via hook:
add_filter( 'post_row_actions', array( $this, 'add_archive_link' ), 10, 2 );
See the result in this screenshot:
Below you find my method to add a link
You must use the hook
admin_action_{your_string}
for the callback, if the user click on the link. Also below a example for my stringarchive
:Now the method for the hook:
You find a plugin, there use this on github.