groups_update_group_forum

  • apply_filters( 'groups_update_group_forum', $args ) )

    Source Reference:

    • Component: BuddyPress :: bp-groups
      File: /bp-groups/bp-groups-forums.php :: Trac Source Line: 40
      		return false;
      
      	$args = array(
      		'forum_id'      => groups_get_groupmeta( $group_id, 'forum_id' ),
      		'forum_name'    => $group->name,
      		'forum_desc'    => $group->description,
      		'forum_slug'    => $group->slug
      	);
      
      	bp_forums_update_forum( apply_filters( 'groups_update_group_forum', $args ) );
      }
      add_action( 'groups_details_updated', 'groups_update_group_forum' );
      
      function groups_new_group_forum_post( $post_text, $topic_id, $page = false ) {
      	global $bp;
      
      	if ( empty( $post_text ) )
      		return false;
      
      	$post_text = apply_filters( 'group_forum_post_text_before_save', $post_text );
      

Comments are closed.