bbp_untrash_forum( $forum_id )

Called before untrashing a forum

Description

Source

File: bp-forums/forums/functions.php

2474
2475
2476
2477
2478
2479
2480
2481
function bbp_untrash_forum( $forum_id = 0 ) {
    $forum_id = bbp_get_forum_id( $forum_id );
 
    if ( empty( $forum_id ) || !bbp_is_forum( $forum_id ) )
        return false;
 
    do_action( 'bbp_untrash_forum', $forum_id );
}

Changelog

Changelog
Version Description
bbPress (r3668) 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.