lightspeeddevelopment /
lsx-health-plan
| 1 | <?php |
||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 2 | |||
| 3 | $type = lsx_health_plan_exercise_type(); |
||
| 4 | $equipment = lsx_health_plan_exercise_equipment(); |
||
| 5 | $muscle_group = lsx_health_plan_muscle_group_equipment(); |
||
| 6 | |||
| 7 | ?> |
||
| 8 | <?php if ( ( ! empty( $type ) ) || ( ! empty( $equipment ) ) || ( ! empty( $muscle_group ) ) ) { ?> |
||
|
0 ignored issues
–
show
|
|||
| 9 | <table class="exercise-table"> |
||
| 10 | <tbody> |
||
| 11 | <?php |
||
| 12 | if ( ! empty( $type ) ) { |
||
|
0 ignored issues
–
show
|
|||
| 13 | ?> |
||
| 14 | <tr class="types"> |
||
| 15 | <td><?php esc_html_e( 'Type:', 'lsx-health-plan' ); ?> </td> |
||
| 16 | <td> |
||
| 17 | <?php |
||
| 18 | echo wp_kses_post( $type ); |
||
| 19 | ?> |
||
| 20 | </td> |
||
| 21 | </tr> |
||
| 22 | <?php |
||
| 23 | } |
||
| 24 | ?> |
||
| 25 | <?php |
||
| 26 | if ( ! empty( $muscle_group ) ) { |
||
|
0 ignored issues
–
show
|
|||
| 27 | ?> |
||
| 28 | <tr class="muscle-group"> |
||
| 29 | <td><?php esc_html_e( 'Muscle:', 'lsx-health-plan' ); ?> </td> |
||
| 30 | <td> |
||
| 31 | <?php |
||
| 32 | echo wp_kses_post( $muscle_group ); |
||
| 33 | ?> |
||
| 34 | </td> |
||
| 35 | </tr> |
||
| 36 | <?php |
||
| 37 | } |
||
| 38 | ?> |
||
| 39 | <?php |
||
| 40 | if ( ! empty( $equipment ) ) { |
||
|
0 ignored issues
–
show
|
|||
| 41 | ?> |
||
| 42 | <tr class="equipment"> |
||
| 43 | <td><?php esc_html_e( 'Equipment:', 'lsx-health-plan' ); ?> </td> |
||
| 44 | <td> |
||
| 45 | <?php |
||
| 46 | echo wp_kses_post( $equipment ); |
||
| 47 | ?> |
||
| 48 | </td> |
||
| 49 | </tr> |
||
| 50 | <?php |
||
| 51 | } |
||
| 52 | ?> |
||
| 53 | </tbody> |
||
| 54 | </table> |
||
| 55 | <?php } ?> |
||
| 56 |