bp_get_the_profile_field_value

  • apply_filters( 'bp_get_the_profile_field_value', $field->data->value, $field->type, $field->id )

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-template.php :: Trac Source Line: 321
      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 );
      
      		return apply_filters( 'bp_get_the_profile_field_value', $field->data->value, $field->type, $field->id );
      	}
      
      function bp_the_profile_field_edit_value() {
      	echo bp_get_the_profile_field_edit_value();
      }
      	function bp_get_the_profile_field_edit_value() {
      		global $field;
      
      		/**
      		 * Check to see if the posted value is different, if it is re-display this
      

Hook: add_filter: bp_get_the_profile_field_value instances (10)

  • add_filter( 'bp_get_the_profile_field_value',         'xprofile_filter_kses', 1 )
    $tag: bp_get_the_profile_field_value
    $function_to_add: xprofile_filter_kses
    $priority: 1
    $accepted_args: 0

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-filters.php :: Trac Source Line: 9
      <?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_value',         'wptexturize'        )
    $tag: bp_get_the_profile_field_value
    $function_to_add: wptexturize
    $priority: 0
    $accepted_args: 0

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-filters.php :: Trac Source Line: 14
      /* 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_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_field_value',         'convert_smilies', 2 )
    $tag: bp_get_the_profile_field_value
    $function_to_add: convert_smilies
    $priority: 2
    $accepted_args: 0

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-filters.php :: Trac Source Line: 15
      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_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',         'convert_chars'      )
    $tag: bp_get_the_profile_field_value
    $function_to_add: convert_chars
    $priority: 0
    $accepted_args: 0

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-filters.php :: Trac Source Line: 16
      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_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_value',         'wpautop'            )
    $tag: bp_get_the_profile_field_value
    $function_to_add: wpautop
    $priority: 0
    $accepted_args: 0

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-filters.php :: Trac Source Line: 17
      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_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_value',         'make_clickable', 8  )
    $tag: bp_get_the_profile_field_value
    $function_to_add: make_clickable
    $priority: 8
    $accepted_args: 0

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-filters.php :: Trac Source Line: 18
      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_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_value',         'force_balance_tags' )
    $tag: bp_get_the_profile_field_value
    $function_to_add: force_balance_tags
    $priority: 0
    $accepted_args: 0

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-filters.php :: Trac Source Line: 19
      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_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( 'bp_get_the_profile_field_value',         'stripslashes' )
    $tag: bp_get_the_profile_field_value
    $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: 26
      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 );
      
      add_filter( 'xprofile_get_field_data',                'force_balance_tags' );
      add_filter( 'xprofile_field_name_before_save',        'force_balance_tags' );
      
  • add_filter( 'bp_get_the_profile_field_value',         'xprofile_filter_format_field_value', 1, 2 )
    $tag: bp_get_the_profile_field_value
    $function_to_add: xprofile_filter_format_field_value
    $priority: 1
    $accepted_args: 2

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-filters.php :: Trac Source Line: 43
      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' );
      
      add_filter( 'xprofile_get_field_data',                'stripslashes' );
      
      /* Custom BuddyPress filters */
      
      add_filter( 'bp_get_the_profile_field_value',         'xprofile_filter_format_field_value', 1, 2 );
      add_filter( 'bp_get_the_site_member_profile_data',    'xprofile_filter_format_field_value', 1, 2 );
      add_filter( 'bp_get_the_profile_field_value',         'xprofile_filter_link_profile_data', 9, 2 );
      
      add_filter( 'xprofile_data_value_before_save',        'xprofile_sanitize_data_value_before_save', 1, 2 );
      add_filter( 'xprofile_filtered_data_value_before_save', 'trim', 2 );
      
      /**
       * xprofile_filter_kses ( $content )
       *
       * Run profile field values through kses with filterable allowed tags.
      
  • add_filter( 'bp_get_the_profile_field_value',         'xprofile_filter_link_profile_data', 9, 2 )
    $tag: bp_get_the_profile_field_value
    $function_to_add: xprofile_filter_link_profile_data
    $priority: 9
    $accepted_args: 2

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-filters.php :: Trac Source Line: 45
      add_filter( 'xprofile_field_name_before_save',        'force_balance_tags' );
      add_filter( 'xprofile_field_description_before_save', 'force_balance_tags' );
      
      add_filter( 'xprofile_get_field_data',                'stripslashes' );
      
      /* Custom BuddyPress filters */
      
      add_filter( 'bp_get_the_profile_field_value',         'xprofile_filter_format_field_value', 1, 2 );
      add_filter( 'bp_get_the_site_member_profile_data',    'xprofile_filter_format_field_value', 1, 2 );
      add_filter( 'bp_get_the_profile_field_value',         'xprofile_filter_link_profile_data', 9, 2 );
      
      add_filter( 'xprofile_data_value_before_save',        'xprofile_sanitize_data_value_before_save', 1, 2 );
      add_filter( 'xprofile_filtered_data_value_before_save', 'trim', 2 );
      
      /**
       * xprofile_filter_kses ( $content )
       *
       * Run profile field values through kses with filterable allowed tags.
       *
       * @param string $content
      

Comments are closed.