Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: allowing html in xprofile?


Burt Adsit
Participant

@burtadsit

You’ve got the right idea. However the filter doesn’t exist until bp fires up completely. bp-custom.php gets loaded before bp. Try this:

function stuff_i_want_triggered_after_bp_loads(){

remove_filter( ‘xprofile_get_field_data’, ‘wp_filter_kses’, 1 );

}

add_action(‘wp’, ‘stuff_i_want_triggered_after_bp_loads’);

Skip to toolbar