| @@ -1,13 +1,17 @@ | ||
| 1 | 1 | <?php |
| 2 | - if ( ! $show_button ) { | |
| 3 | - return; | |
| 4 | - } | |
| 2 | + | |
| 3 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 4 | + exit; | |
| 5 | +} | |
| 6 | +if ( ! $show_button ) { | |
| 7 | + return; | |
| 8 | +} | |
| 5 | 9 | ?> |
| 6 | 10 | |
| 7 | 11 | <div class="betterdocs-footer"> |
| 8 | - <?php | |
| 9 | - if ( $show_button ) { | |
| 10 | - $view_object->get( 'template-parts/explore-more-btn' ); | |
| 11 | - } | |
| 12 | - ?> | |
| 12 | + <?php | |
| 13 | + if ( $show_button ) { | |
| 14 | + $view_object->get( 'template-parts/explore-more-btn' ); | |
| 15 | + } | |
| 16 | + ?> | |
| 13 | 17 | </div> |