@andy277
Active 8 years, 9 months ago
-
AM77 started the topic adding html attributes to Xprofile fields – code check in the forum Installing BuddyPress 8 years, 9 months ago
I need to add some html attributes to some Xprofile fields such as max-length. I was trying to find a filter so I could use str_replace to add attributes, but I eventually found the filter
bp_xprofile_field_edit_html_elements
in bp-xprofile/classes/class-bp-xprofile-field-type.php.
I’ve now got this code which works, but I’m not great with PHP so…[Read more] -
AM77's profile was updated 9 years ago