groups_group_name_before_save

  • apply_filters( 'groups_group_name_before_save',         $this->name,         $this->id )

    Source Reference:

    • Component: BuddyPress :: bp-groups
      File: /bp-groups/bp-groups-classes.php :: Trac Source Line: 61
      					$this->mods[] = $user;
      			}
      		}
      	}
      
      	function save() {
      		global $wpdb, $bp;
      
      		$this->creator_id   = apply_filters( 'groups_group_creator_id_before_save',   $this->creator_id,   $this->id );
      		$this->name         = apply_filters( 'groups_group_name_before_save',         $this->name,         $this->id );
       		$this->slug         = apply_filters( 'groups_group_slug_before_save',         $this->slug,         $this->id );
      		$this->description  = apply_filters( 'groups_group_description_before_save',  $this->description,  $this->id );
       		$this->status       = apply_filters( 'groups_group_status_before_save',       $this->status,       $this->id );
      		$this->enable_forum = apply_filters( 'groups_group_enable_forum_before_save', $this->enable_forum, $this->id );
      		$this->date_created = apply_filters( 'groups_group_date_created_before_save', $this->date_created, $this->id );
      
      		do_action_ref_array( 'groups_group_before_save', array( &$this ) );
      
      		if ( !empty( $this->id ) ) {
      			$sql = $wpdb->prepare(
      

Hook: add_filter: groups_group_name_before_save instances (2)

  • add_filter( 'groups_group_name_before_save',        'wp_filter_kses', 1 )
    $tag: groups_group_name_before_save
    $function_to_add: wp_filter_kses
    $priority: 1
    $accepted_args: 0

    Source Reference:

    • Component: BuddyPress :: bp-groups
      File: /bp-groups/bp-groups-filters.php :: Trac Source Line: 27
      add_filter( 'bp_get_group_description_excerpt', 'wpautop' );
      
      add_filter( 'bp_get_group_description',         'make_clickable', 9 );
      add_filter( 'bp_get_group_description_excerpt', 'make_clickable', 9 );
      
      add_filter( 'bp_get_group_name',                    'wp_filter_kses', 1 );
      add_filter( 'bp_get_group_permalink',               'wp_filter_kses', 1 );
      add_filter( 'bp_get_group_description',             'bp_groups_filter_kses', 1 );
      add_filter( 'bp_get_group_description_excerpt',     'wp_filter_kses', 1 );
      add_filter( 'groups_group_name_before_save',        'wp_filter_kses', 1 );
      add_filter( 'groups_group_description_before_save', 'wp_filter_kses', 1 );
      
      add_filter( 'bp_get_group_description',         'stripslashes' );
      add_filter( 'bp_get_group_description_excerpt', 'stripslashes' );
      add_filter( 'bp_get_group_name',                'stripslashes' );
      add_filter( 'bp_get_group_member_name',         'stripslashes' );
      add_filter( 'bp_get_group_member_link',         'stripslashes' );
      
      add_filter( 'groups_new_group_forum_desc', 'bp_create_excerpt' );
      
  • add_filter( 'groups_group_name_before_save',        'force_balance_tags' )
    $tag: groups_group_name_before_save
    $function_to_add: force_balance_tags
    $priority: 0
    $accepted_args: 0

    Source Reference:

    • Component: BuddyPress :: bp-groups
      File: /bp-groups/bp-groups-filters.php :: Trac Source Line: 38
      add_filter( 'bp_get_group_description',         'stripslashes' );
      add_filter( 'bp_get_group_description_excerpt', 'stripslashes' );
      add_filter( 'bp_get_group_name',                'stripslashes' );
      add_filter( 'bp_get_group_member_name',         'stripslashes' );
      add_filter( 'bp_get_group_member_link',         'stripslashes' );
      
      add_filter( 'groups_new_group_forum_desc', 'bp_create_excerpt' );
      
      add_filter( 'groups_group_name_before_save',        'force_balance_tags' );
      add_filter( 'groups_group_description_before_save', 'force_balance_tags' );
      
      add_filter( 'bp_get_total_group_count',      'bp_core_number_format' );
      add_filter( 'bp_get_group_total_for_member', 'bp_core_number_format' );
      add_filter( 'bp_get_group_total_members',    'bp_core_number_format' );
      
      function bp_groups_filter_kses( $content ) {
      	global $allowedtags;
      
      	$groups_allowedtags                  = $allowedtags;
      

Comments are closed.