| 1 |
<?php |
| 2 |
/** |
| 3 |
* Smart info box class for Smart Post Show Blocks. |
| 4 |
* |
| 5 |
* @package Smart_Post_Show_Pro |
| 6 |
* @subpackage Smart_Post_Show_Pro/blocks/includes |
| 7 |
*/ |
| 8 |
|
| 9 |
namespace SmartPostShow\Blocks; |
| 10 |
|
| 11 |
use SmartPostShow\Blocks\Block_Base; |
| 12 |
|
| 13 |
if ( ! defined( 'ABSPATH' ) ) { |
| 14 |
exit; |
| 15 |
} |
| 16 |
|
| 17 |
/** |
| 18 |
* Smart_Info_Box |
| 19 |
*/ |
| 20 |
class Smart_Info_Box extends Block_Base { |
| 21 |
/** |
| 22 |
* Set_block_properties |
| 23 |
* |
| 24 |
* @return void |
| 25 |
*/ |
| 26 |
protected function set_block_properties() { |
| 27 |
$this->block_name = 'smart-info-box'; |
| 28 |
$this->scripts = array( 'sp_smart_post_blocks_script_js' ); |
| 29 |
$this->styles = array( 'sp_smart_post_blocks_css', 'sp_smart_post_blocks_style' ); |
| 30 |
$this->editor_scripts = array( 'sp_smart_post_blocks_index_js' ); |
| 31 |
$this->editor_styles = array( 'sp_smart_post_blocks_editor_style' ); |
| 32 |
} |
| 33 |
} |
| 34 |
|