do_action( "bp_activity_post_type_untrash_{$post->post_type}", WP_Post $post )

Fires if untrashing post in a post type.

Description

This is a variable filter that is dependent on the post type being untrashed.

Parameters

$post

(WP_Post) Post data.

Source

File: bp-activity/bp-activity-functions.php

Changelog

Changelog
Version Description
BuddyPress 2.2.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.