Skip to:
Content
Pages
Categories
Search
Top
Bottom

Allow HTML Attributes in Profile Description Field


  • neilgee
    Participant

    @neilgee

    Hi,

    I am looking at to add attributes in a link tag in the Profile Field description area, I can add a link but if I add another attribute like target it gets stripped on save.

    I have tried…

    
    function descrition_field_remove_html_filter() {
    	remove_filter( 'bp_get_the_profile_field_description', 'wp_filter_kses' );
    }
    add_action( 'bp_init', 'descrition_field_remove_html_filter' );
    

    But that doesn’t fix it.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.