bp_get_the_profile_field_edit_value

  • apply_filters( 'bp_get_the_profile_field_edit_value', $field_value, $field->type, $field->id )

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-template.php :: Trac Source Line: 346
      		if ( isset( $_POST['field_' . $field->id] ) && $field->data->value != $_POST['field_' . $field->id] ) {
      			if ( !empty( $_POST['field_' . $field->id] ) )
      				$field->data->value = $_POST['field_' . $field->id];
      			else
      				$field->data->value = '';
      		}
      
      		$field_value = isset( $field->data->value ) ? bp_unserialize_profile_field( $field->data->value ) : '';
      
      		return apply_filters( 'bp_get_the_profile_field_edit_value', $field_value, $field->type, $field->id );
      	}
      
      function bp_the_profile_field_type() {
      	echo bp_get_the_profile_field_type();
      }
      	function bp_get_the_profile_field_type() {
      		global $field;
      
      		return apply_filters( 'bp_the_profile_field_type', $field->type );
      	}
      

Hook: add_filter: bp_get_the_profile_field_edit_value instances (4)

  • add_filter( 'bp_get_the_profile_field_edit_value',    'wp_filter_kses',       1 )
    $tag: bp_get_the_profile_field_edit_value
    $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: 11
      // 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_edit_value',    'force_balance_tags' );
      
  • add_filter( 'bp_get_the_profile_field_edit_value',    'force_balance_tags' )
    $tag: bp_get_the_profile_field_edit_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: 21
      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( 'xprofile_get_field_data',                'wp_filter_kses', 1 );
      
  • add_filter( 'bp_get_the_profile_field_edit_value',    'esc_html'           )
    $tag: bp_get_the_profile_field_edit_value
    $function_to_add: esc_html
    $priority: 0
    $accepted_args: 0

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-filters.php :: Trac Source Line: 22
      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( 'xprofile_get_field_data',                'wp_filter_kses', 1 );
      add_filter( 'xprofile_field_name_before_save',        'wp_filter_kses', 1 );
      
  • add_filter( 'bp_get_the_profile_field_edit_value',    'stripslashes' )
    $tag: bp_get_the_profile_field_edit_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: 27
      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( 'xprofile_field_description_before_save', 'force_balance_tags' );
      

Comments are closed.