access shortcode atts in template part

09/12/2020 quanly 0

How can I access the $atts in a BuddyPress template? Unlike load_template, bp_get_template_part does not have an $args parameter. In the template, has_shortcode( $post->post_content, ‘test_shortcode’ […]