bp_get_the_profile_group_name

  • apply_filters( 'bp_get_the_profile_group_name', $group->name )

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-template.php :: Trac Source Line: 245
      		global $group;
      		return apply_filters( 'bp_get_the_profile_group_id', $group->id );
      	}
      
      function bp_the_profile_group_name() {
      	echo bp_get_the_profile_group_name();
      }
      	function bp_get_the_profile_group_name() {
      		global $group;
      		return apply_filters( 'bp_get_the_profile_group_name', $group->name );
      	}
      
      function bp_the_profile_group_slug() {
      	echo bp_get_the_profile_group_slug();
      }
      	function bp_get_the_profile_group_slug() {
      		global $group;
      		return apply_filters( 'bp_get_the_profile_group_slug', sanitize_title( $group->name ) );
      	}
      

Hook: add_filter: bp_get_the_profile_group_name instances (2)

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

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-filters.php :: Trac Source Line: 7
      <?php
      // Exit if accessed directly
      if ( !defined( 'ABSPATH' ) ) exit;
      
      /* Apply WordPress defined filters */
      
      add_filter( 'bp_get_the_profile_group_name',          'wp_filter_kses',       1 );
      add_filter( 'bp_get_the_profile_group_description',   'wp_filter_kses',       1 );
      add_filter( 'bp_get_the_profile_field_value',         'xprofile_filter_kses', 1 );
      add_filter( 'bp_get_the_profile_field_name',          'wp_filter_kses',       1 );
      add_filter( 'bp_get_the_profile_field_edit_value',    'wp_filter_kses',       1 );
      add_filter( 'bp_get_the_profile_field_description',   'wp_filter_kses',       1 );
      
      add_filter( 'bp_get_the_profile_field_value',         'wptexturize'        );
      add_filter( 'bp_get_the_profile_field_value',         'convert_smilies', 2 );
      add_filter( 'bp_get_the_profile_field_value',         'convert_chars'      );
      add_filter( 'bp_get_the_profile_field_value',         'wpautop'            );
      add_filter( 'bp_get_the_profile_field_value',         'make_clickable', 8  );
      add_filter( 'bp_get_the_profile_field_value',         'force_balance_tags' );
      
  • add_filter( 'bp_get_the_profile_group_name',          'stripslashes' )
    $tag: bp_get_the_profile_group_name
    $function_to_add: stripslashes
    $priority: 0
    $accepted_args: 0

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-filters.php :: Trac Source Line: 24
      add_filter( 'bp_get_the_profile_field_value',         'convert_smilies', 2 );
      add_filter( 'bp_get_the_profile_field_value',         'convert_chars'      );
      add_filter( 'bp_get_the_profile_field_value',         'wpautop'            );
      add_filter( 'bp_get_the_profile_field_value',         'make_clickable', 8  );
      add_filter( 'bp_get_the_profile_field_value',         'force_balance_tags' );
      
      add_filter( 'bp_get_the_profile_field_edit_value',    'force_balance_tags' );
      add_filter( 'bp_get_the_profile_field_edit_value',    'esc_html'           );
      
      add_filter( 'bp_get_the_profile_group_name',          'stripslashes' );
      add_filter( 'bp_get_the_profile_group_description',   'stripslashes' );
      add_filter( 'bp_get_the_profile_field_value',         'stripslashes' );
      add_filter( 'bp_get_the_profile_field_edit_value',    'stripslashes' );
      add_filter( 'bp_get_the_profile_field_name',          'stripslashes' );
      add_filter( 'bp_get_the_profile_field_description',   'stripslashes' );
      
      add_filter( 'xprofile_get_field_data',                'wp_filter_kses', 1 );
      add_filter( 'xprofile_field_name_before_save',        'wp_filter_kses', 1 );
      add_filter( 'xprofile_field_description_before_save', 'wp_filter_kses', 1 );
      

Comments are closed.