# post-carousel/4.0.2/blocks/includes/buttons/attributes.php

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

- Page: https://pluginprobe.com/plugins/post-carousel/4.0.2/code/blocks/includes/buttons/attributes.php
- Raw: https://pluginprobe.com/plugins/post-carousel/4.0.2/raw/blocks/includes/buttons/attributes.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/buttons/attributes.php#L10-L20`.

```php
<?php
/**
 * Buttons block attributes file for Smart Post Show Blocks.
 *
 * @package Smart_Post_Show_Pro
 * @subpackage Smart_Post_Show_Pro/blocks/includes
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
return array(
	'uniqueId'                   => array(
		'type'    => 'string',
		'default' => '',
	),
	'innerBlockId'               => array(
		'type'    => 'string',
		'default' => '',
	),
	'dynamicCss'                 => array( 'type' => 'string' ),
	'fullWidthBtnEnable'         => array(
		'type'    => 'boolean',
		'default' => false,
	),
	'buttonGap'                  => array(
		'type'    => 'object',
		'default' => array(
			'device' => array(
				'Desktop' => 16,
				'Tablet'  => '',
				'Mobile'  => '',
			),
			'unit'   => array(
				'Desktop' => 'px',
				'Tablet'  => 'px',
				'Mobile'  => 'px',
			),
		),
	),
	'buttonsMargin'              => $this->spacing_attribute( 0, 0, 0, 0, 'px', true ),
	'buttonsHorizontalAlignment' => array(
		'type'    => 'string',
		'default' => 'flex-start',
	),
	'buttonsVerticalAlignment'   => array(
		'type'    => 'string',
		'default' => 'flex-start',
	),
	'buttonsAlignment'           => array(
		'type'    => 'string',
		'default' => 'horizontal',
	),
	'isPreview'                  => array(
		'type'    => 'boolean',
		'default' => false,
	),
	'additionalCssClass'         => array(
		'type'    => 'string',
		'default' => '',
	),
	'customCss'                  => array(
		'type'    => 'string',
		'default' => '',
	),
	'hideOnDesktop'              => array(
		'type'    => 'boolean',
		'default' => false,
	),
	'hideOnTablet'               => array(
		'type'    => 'boolean',
		'default' => false,
	),
	'hideOnMobile'               => array(
		'type'    => 'boolean',
		'default' => false,
	),
	'globalBreakPointData'       => array(
		'type'    => 'object',
		'default' => array(),
	),
);

```
