# post-carousel/4.0.2/blocks/includes/button/Button.php

Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog &amp; News, version 4.0.2. 31 lines.

- Page: https://pluginprobe.com/plugins/post-carousel/4.0.2/code/blocks/includes/button/Button.php
- Raw: https://pluginprobe.com/plugins/post-carousel/4.0.2/raw/blocks/includes/button/Button.php
- Modified: 2026-04-24T11:48:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/post-carousel/4.0.2/code/blocks/includes/button/Button.php#L10-L20`.

```php
<?php
/**
 * Button block class for Smart Post Show Blocks.
 *
 * @package Smart_Post_Show_Pro
 * @subpackage Smart_Post_Show_Pro/blocks/includes
 */

namespace SmartPostShow\Blocks;

use SmartPostShow\Blocks\Block_Base;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Buttons Group Block Class.
 */
class Button extends Block_Base {
	/**
	 * Set block properties
	 *
	 * @return void
	 */
	protected function set_block_properties() {
		$this->block_name = 'button';
		$this->styles     = array( 'sp_smart_post_blocks_css', 'sp_smart_post_blocks_social_icons_style', 'sp_smart_post_blocks_google_fonts' );
	}
}

```
