bbp_update_forum_id

bbp_update_forum_id

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_update_forum_id') is found 1 times:

  • /includes/core/functions.php line 106
     */
    function bbp_update_forum_id( $post_id = 0, $forum_id = 0 ) {
    
    	// Allow the forum ID to be updated 'just in time' before save
    	$forum_id = (int) apply_filters( 'bbp_update_forum_id', $forum_id, $post_id );
    
    	// Update the post meta forum ID
    	update_post_meta( $post_id, '_bbp_forum_id', $forum_id );
    
    	return $forum_id;
    }