<https://purothemes.com/documentation/general-wordpress/allow-post-author-bio-html-markup/>
<https://wpmudev.com/blog/enable-or-disable-all-html-tags-in-wordpress-author-biography-profiles/>
Add this to functions.php
// Disable WordPress sanitization to allow more than just
$allowedtags from /wp-includes/kses.php.
remove_filter( 'pre_user_description', 'wp_filter_kses' );
// Add sanitization for WordPress posts.
add_filter( 'pre_user_description', 'wp_filter_post_kses' );
//*
Code language: JavaScript (javascript)
Warning: only do this if you trust your users, because this also allows them to add malicious code. So don't do this where everybody can create
- subscriber/webshop account.