Change your action to pending_to_publish.
add_action( 'pending_to_publish', 'bang30_publish_pending_response', 10, 3 );
Related Posts:
- Is it possible to have more “levels” of draft/published statuses?
- What is a “protected” post status?
- how to assign a status/mark to post?
- Why doesn’t wp_update_post() update the post_status field?
- register_post_status and show_in_admin_all_list
- Changing post status in one click
- How can I run custom function when post status is changed?
- WP_Post_List_Table::get_views – Have post counts account for filters?
- Creating/editing custom ‘post-state’
- Using arbitrary post status without registering it
- Get a list of ALL Statuses both registered and built-in
- Adding custom post status to visibility in publish meta box
- How do I limit the status options for bulk/quick edit to only Published and Draft?
- Changing post status
- Change scheduled posts to published
- Include Drafts or Future posts with count_user_posts?
- Remove ‘private’ and ‘pending review’ options from post status dropdown
- Can not get future_to_publish to work
- Which is the better way to get the status of a post?
- “Publish immediately” with custom post status
- Modify Post Status Arguments
- Additional page and post status types
- Add a simple JS Alert Box on Post Submission
- Function to change post status IF current user and post author are the same
- Schedule future post to custom post status instead of publish?
- Why does get_post_status display published when attachment is in trash?
- Force Custom Post Type Status to ‘Future’ on first Save or Publish
- Workflow for attachments in WordPress
- how to transition to custom post status on post save
- How to change custom post type status when non-admin updates post?
- Custom post status filter links always show a count of all posts in the site with that status, not the logged in users count
- wordpress post status inquery
- Multiple Post Status
- retrieve post details in loop
- Any way to change post/page status when editing page?
- How to change post status from “draft” to “publish”?
- Submitted for Review back to a Draft page
- How to Add Custom Post Status in WordPress Admin
- Auto draft posts when scheduled date is reached
- Changing a post status name
- How to update post status to draft if user role is “pending’
- How to create posts with a specific date in bulk
- How can I make a custom post status private or draft?
- Changing Post Status from Pending to Publish twice daily
- How to Get All Posts with any post status?
- How to check if a user (not current user) is logged in?
- Optimize post insert and delete for bulk operations?
- New post status for custom post type
- Custom bulk_action
- How to update page status from publish to draft and draft to publish
- How to Display a List of Users Who Have Made at Least 1 Post?
- Turn Off Automatic Trash Deletion?
- wordpress function to change post status [duplicate]
- Using get_post_meta with new_to_publish
- wp_list_tables bulk actions
- Custom column for changing post status via ajax
- Bulk term assignment for attachment taxonomies
- How to change “Draft” string for status of custom post type to “Unavailable”?
- How to display the status of users (online – offline) in archive.php
- Let private posts stay in status “private” after edit through “editors”
- How to check if page has status published
- How to implement bulk actions in my plugin?
- How to 301 private posts rather than 404?
- WP_Query by post ID doesn’t work if post is in custom post_status
- WP-CLI Bulk delete posts from specific category
- How to make custom bulk actions work on the media/upload page?
- Add mass action to wp-admin/users.php
- How to create bulk page and content? [closed]
- Restrict a Post Types Post Status
- Custom post status and preview
- get_terms(); show private posts when logged in
- wp_list_table bulk action button is not working – no submit
- How to verify nonce from Bulk/Quick Edit in save_post?
- Bulk post type conversion
- How to prevent custom fields from being cleared during a bulk edit?
- Fill post titles from post content?
- How to assign an additional/extra/second user-role to multiple users (of a specific user-role)
- How to change post status in hook?
- Invalid Post Type error when attempting to filter and Bulk Edit posts
- Custom Post Status not showing in Custom Post Type ALL view
- Custom bulk action for media gallery items
- featuring old articles without messing up with the archive
- Bulk Update of Custom Post Type Post Status through SQL
- Setting post meta data to random value during post status transition / on publish
- Show scheduled posts in archive page
- Setting a title on a Custom Post Type that doesn’t support titles
- What action is called when drafts are saved?
- Remove bulk actions based on user role or capabilities
- Custom Fields Bulk Edit
- Bulk edit post date in wordpress
- How to mass delete one line from all posts
- How can I hook into existing WordPress Bulk actions?
- How to Get All Posts but the Private ones?
- Detect type of post status transition
- change a post status when users update posts?
- How to change post status from publish to draft using hook in wordpress?
- How can I style future post?
- How to hook in to bulk trash posts
- 418 header status, I’m a teapot [closed]
- Hiding by default specific post status on backend list?