| @@ -37,8 +37,10 @@ | ||
| 37 | 37 | <?php echo wp_kses( $left_text, Fns::get_kses_array() ); ?> |
| 38 | 38 | <?php Fns::print_html( $icon_html ); ?> |
| 39 | 39 | <?php echo wp_kses( $right_text, Fns::get_kses_array() ); ?> |
| 40 | 40 | </span> |
| 41 | + <?php if ( $show_button_text ) { ?> | |
| 41 | 42 | <span class="icon-with-text button-text"> |
| 42 | 43 | <?php Fns::print_html( $button_text, true ); ?> |
| 43 | - </span> | |
| 44 | + </span> | |
| 45 | + <?php } ?> | |
| 44 | 46 | </a> |