# ablocks/2.11.1/includes/blocks/storeengine-funnel-offer/attributes.php

aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder &amp; Animation Builder, version 2.11.1. 111 lines.

- Page: https://pluginprobe.com/plugins/ablocks/2.11.1/code/includes/blocks/storeengine-funnel-offer/attributes.php
- Raw: https://pluginprobe.com/plugins/ablocks/2.11.1/raw/includes/blocks/storeengine-funnel-offer/attributes.php
- Modified: 2026-07-19T14:51:02+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/ablocks/2.11.1/code/includes/blocks/storeengine-funnel-offer/attributes.php#L10-L20`.

```php
<?php

use ABlocks\Controls\Typography;
use ABlocks\Controls\Background;
use ABlocks\Controls\Border;
use ABlocks\Controls\Dimensions;
use ABlocks\Controls\Range;

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

$attributes = [
	'block_id' => [
		'type' => 'string',
		'default' => '',
	],
	'blockVersion' => array(
		'type' => 'number',
		'default' => 2,
	),
	'offerTitle' => [
		'type'    => 'string',
		'default' => '',
	],
	'offerDescription' => [
		'type'    => 'string',
		'default' => '',
	],
	'titleColor' => [
		'type'    => 'string',
		'default' => '',
	],
	'titleColorH' => [
		'type'    => 'string',
		'default' => '',
	],
	'productTitleColor' => [
		'type'    => 'string',
		'default' => '',
	],
	'productTitleColorH' => [
		'type'    => 'string',
		'default' => '',
	],
	'discountPriceColor' => [
		'type'    => 'string',
		'default' => '',
	],
	'discountPriceColorH' => [
		'type'    => 'string',
		'default' => '',
	],
	'regularPriceColor' => [
		'type'    => 'string',
		'default' => '',
	],
	'regularPriceColorH' => [
		'type'    => 'string',
		'default' => '',
	],
	'qualityColorH' => [
		'type'    => 'string',
		'default' => '',
	],
	'qualityColor' => [
		'type'    => 'string',
		'default' => '',
	],
	'tableTextColorH' => [
		'type'    => 'string',
		'default' => '',
	],
	'tableTextColor' => [
		'type'    => 'string',
		'default' => '',
	],
];

$attributes = array_merge(
	$attributes,
	Typography::get_attribute( 'titleTypography', true ),
	Typography::get_attribute( 'ProductTitleTypography', true ),
	Typography::get_attribute( 'discountPriceTypography', true ),
	Typography::get_attribute( 'regularPriceTypography', true ),
	Typography::get_attribute( 'tableTextTypography', true ),
	Typography::get_attribute( 'qualityTypography', true ),
	Range::get_attribute([
		'attributeName' => 'imageWidth',
		'attributeObjectKey' => 'value',
		'isResponsive' => true,
		'defaultValue' => 100,
		'defaultValueTablet' => 80,
		'defaultValueMobile' => 40,
		'hasUnit' => false,
		'unitDefaultValue' => 'px',
	]),
	Range::get_attribute([
		'attributeName' => 'imageHeight',
		'attributeObjectKey' => 'value',
		'isResponsive' => true,
		'defaultValue' => 100,
		'defaultValueTablet' => 80,
		'defaultValueMobile' => 40,
		'hasUnit' => false,
		'unitDefaultValue' => 'px',
	]),
);

return array_merge( $attributes, \ABlocks\Classes\BlockGlobal::get_attributes() );

```
