bp_get_the_profile_field_name

  • apply_filters( 'bp_get_the_profile_field_name', $field->name )

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-template.php :: Trac Source Line: 310
      		return apply_filters( 'bp_get_the_profile_field_id', $field->id );
      	}
      
      function bp_the_profile_field_name() {
      	echo bp_get_the_profile_field_name();
      }
      	function bp_get_the_profile_field_name() {
      		global $field;
      
      		return apply_filters( 'bp_get_the_profile_field_name', $field->name );
      	}
      
      function bp_the_profile_field_value() {
      	echo bp_get_the_profile_field_value();
      }
      	function bp_get_the_profile_field_value() {
      		global $field;
      
      		$field->data->value = bp_unserialize_profile_field( $field->data->value );
      

Hook: add_filter: bp_get_the_profile_field_name instances (2)

  • add_filter( 'bp_get_the_profile_field_name',          'wp_filter_kses',       1 )
    $tag: bp_get_the_profile_field_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: 10
      <?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_field_name',          'stripslashes' )
    $tag: bp_get_the_profile_field_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: 28
      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 );
      
      add_filter( 'xprofile_get_field_data',                'force_balance_tags' );
      add_filter( 'xprofile_field_name_before_save',        'force_balance_tags' );
      add_filter( 'xprofile_field_description_before_save', 'force_balance_tags' );
      

Comments are closed.