# ablocks/2.13.1/includes/blocks/atomic-text/attributes.php

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

- Page: https://pluginprobe.com/plugins/ablocks/2.13.1/code/includes/blocks/atomic-text/attributes.php
- Raw: https://pluginprobe.com/plugins/ablocks/2.13.1/raw/includes/blocks/atomic-text/attributes.php
- Modified: 2026-09-08T12:29:06+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.13.1/code/includes/blocks/atomic-text/attributes.php#L10-L20`.

```php
<?php

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

$attributes = [
	'block_id'      => [ 'type' => 'string', 'default' => '' ],
	'blockVersion'  => [ 'type' => 'number', 'default' => 3 ],
	'tag'           => [ 'type' => 'string', 'default' => 'p' ],
	'content'       => [ 'type' => 'string', 'default' => '' ],
	'globalClasses' => [ 'type' => 'array', 'default' => [] ],
	'htmlId'        => [ 'type' => 'string', 'default' => '' ],
	'link'          => [ 'type' => 'object', 'default' => [ 'url' => '', 'newTab' => false, 'noFollow' => false ] ],
	'animation'     => [ 'type' => 'object', 'default' => [ 'type' => '', 'duration' => '0.6', 'delay' => '0' ] ],
	// Multiple interactions/animations. Each: {id, trigger, effect, type,
	// direction, duration(ms), delay(ms), easing, off:{deviceId:true}}.
	'animations'    => [ 'type' => 'array', 'default' => [] ],
	'transitionDuration' => [ 'type' => 'string', 'default' => '' ],
	'alignment'     => [
		'type'    => 'object',
		'default' => [ 'value' => '', 'valueTablet' => '', 'valueMobile' => '' ],
	],
	// Style buckets (breakpoint × state) are created on demand as controls are
	// touched — see StyleBuckets for the shape — so the default is just the
	// schema marker. These defaults back-fill attributes a saved block omitted
	// (AssetsGenerator), so the marker has to be here or the styles would read
	// as an unreadable schema.
	'styles'        => [ 'type' => 'object', 'default' => \ABlocks\Classes\StyleBuckets::empty_styles() ],
	// Shared "Advanced" tab (see AtomicBlockBase::build_css).
	'customCSS'     => [ 'type' => 'string', 'default' => '' ],
	'hideOn'        => [ 'type' => 'object', 'default' => [ 'desktop' => false, 'tablet' => false, 'mobile' => false ] ],
];

return $attributes;

```
