bp_activity_post_type_unpublished, $delete_activity_args, $post, $deleted

bp_activity_post_type_unpublished, $delete_activity_args, $post, $deleted

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: buddypress.14.5.2

do_action('bp_activity_post_type_unpublished, $delete_activity_args, $post, $deleted') is found 1 times:

  • /bp-activity/bp-activity-functions.php line 2505
    	 * @param array   $delete_activity_args Array of arguments for activity deletion.
    	 * @param WP_Post $post                 Post object.
    	 * @param bool    $activity             Whether or not the activity was successfully deleted.
    	 */
    	do_action( 'bp_activity_post_type_unpublished', $delete_activity_args, $post, $deleted );
    
    	return $deleted;
    }
    
    /**
     * Create an activity item for a newly posted post type comment.