How to enable a shortcode in the short member description

If you want to enable a shortcode in the member’s short description, you can do it with the following custom code. If you check the code, you will see a filter hook (sptp_member_description) available through which you can do this. Add the following custom code to your current theme’s functions.php file.

function sptp_member_short_desc_enable_shortcode($sptp_member_description){
    return do_shortcode( $sptp_member_description );
}
add_action( 'sptp_member_description', 'sptp_member__short_desc_enable_shortcode', 10 );