Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Allow HTML Attributes in Profile Description Field

@shanebp

Moderator

Just guessing…

Try using the bp_ready hook instead of bp_init.

Try adding the priority to the call:
remove_filter( 'bp_get_the_profile_field_description', 'wp_filter_kses', 1 );

Try adding your attributes to the $allowedtags global.
https://ben.lobaugh.net/blog/201762/add-html-tags-to-the-allowed-tags-list-in-wordpress

Skip to toolbar