Profile image description

Hi
I need a snippets code to add a description to profile image to tell the vendeur to choose his/her image or a logo
Regards

If you mean adding a description for image field only for vendor then please try this PHP snippet

add_filter(
	'hivepress/v1/forms/user_update',
	function( $form ) {
		
		if(current_user_can('edit_posts')){
			$form['fields']['image']['description'] = 'Your custom text here';	
		}

		return $form;
	},
	1000
);
1 Like

Great it works