strong-testimonials
/
includes
/
strong-testimonials-beaver-block
/
class-strong-testimonials-beaver.php
includes
1 year ago
class-strong-testimonials-beaver-block.php
1 year ago
class-strong-testimonials-beaver.php
1 year ago
class-strong-testimonials-beaver.php
27 lines
| 1 | <?php |
| 2 | // Exit if accessed directly. |
| 3 | if ( ! defined( 'ABSPATH' ) ) { |
| 4 | exit; |
| 5 | } |
| 6 | |
| 7 | class Strong_Testimonials_Beaver { |
| 8 | |
| 9 | /** |
| 10 | * Strong_Testimonials_Beaver constructor. |
| 11 | */ |
| 12 | public function __construct() { |
| 13 | add_action( 'init', array( $this, 'include_beaver_block' ) ); |
| 14 | } |
| 15 | |
| 16 | /** |
| 17 | * Include ST Beaver Block |
| 18 | */ |
| 19 | public function include_beaver_block() { |
| 20 | if ( class_exists( 'FLBuilder' ) ) { |
| 21 | require_once WPMTST_DIR . 'includes/strong-testimonials-beaver-block/class-strong-testimonials-beaver-block.php'; |
| 22 | } |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | $strong_beaver = new Strong_Testimonials_Beaver(); |
| 27 |