bbp_approve_reply

bbp_approve_reply

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

do_action('bbp_approve_reply') is found 1 times:

  • /includes/replies/functions.php line 1833
    1829
    1830
    1831
    1832
    1833
    1834
    1835
    1836
    1837
    1838
    1839
        return false;
    }
     
    // Execute pre pending code
    do_action( 'bbp_approve_reply', $reply_id );
     
    // Set publish status
    $reply->post_status = $status;
     
    // Set post date GMT - prevents post_date override in wp_update_post()
    $reply->post_date_gmt = get_gmt_from_date( $reply->post_date );

See this hook used in plugins: