bbp_update_reply_id

bbp_update_reply_id

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_update_reply_id') is found 1 times:

  • /includes/core/functions.php line 144
     */
    function bbp_update_reply_id( $post_id = 0, $reply_id = 0 ) {
    
    	// Allow the reply ID to be updated 'just in time' before save
    	$reply_id = (int) apply_filters( 'bbp_update_reply_id', $reply_id, $post_id );
    
    	// Update the post meta reply ID
    	update_post_meta( $post_id, '_bbp_reply_id', $reply_id );
    
    	return $reply_id;
    }