xprofile_allowed_tags

  • apply_filters( 'xprofile_allowed_tags', $xprofile_allowedtags )

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-filters.php :: Trac Source Line: 64
       * @param string $content
       * @return string $content
       */
      function xprofile_filter_kses( $content ) {
      	global $allowedtags;
      
      	$xprofile_allowedtags             = $allowedtags;
      	$xprofile_allowedtags['a']['rel'] = array();
      
      	$xprofile_allowedtags = apply_filters( 'xprofile_allowed_tags', $xprofile_allowedtags );
      	return wp_kses( $content, $xprofile_allowedtags );
      }
      
      /**
       * xprofile_sanitize_data_value_before_save ( $field_value, $field_id )
       *
       * Safely runs profile field data through kses and force_balance_tags.
       *
       * @param string $field_value
       * @param int $field_id
      

Comments are closed.