@rococodigital
Active 1 day, 12 hours ago
-
Matt replied to the topic adding html attributes to Xprofile fields – code check in the forum Installing BuddyPress 3 days, 14 hours ago
add_filter('bp_get_form_field_attributes', 'hp_xprofile_add_attributes', 11, 2);
function hp_xprofile_add_attributes($attributes, $name){
switch($name) {
case 'yourbusinessdescription':
$new_attribute['maxlength']= '160';
$attributes =…[Read more]