| 1 |
<?php |
| 2 |
/** |
| 3 |
* Button block 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 |
* Buttons Group Block Class. |
| 19 |
*/ |
| 20 |
class Button extends Block_Base { |
| 21 |
/** |
| 22 |
* Set block properties |
| 23 |
* |
| 24 |
* @return void |
| 25 |
*/ |
| 26 |
protected function set_block_properties() { |
| 27 |
$this->block_name = 'button'; |
| 28 |
$this->styles = array( 'sp_smart_post_blocks_css', 'sp_smart_post_blocks_social_icons_style', 'sp_smart_post_blocks_google_fonts' ); |
| 29 |
} |
| 30 |
} |
| 31 |
|