# ablocks/2.9.0/includes/blocks/loop-builder/attributes.php

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

- Page: https://pluginprobe.com/plugins/ablocks/2.9.0/code/includes/blocks/loop-builder/attributes.php
- Raw: https://pluginprobe.com/plugins/ablocks/2.9.0/raw/includes/blocks/loop-builder/attributes.php
- Modified: 2025-07-14T14:48:20+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.9.0/code/includes/blocks/loop-builder/attributes.php#L10-L20`.

```php
<?php

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

$attributes = [
	'block_id' => [
		'type' => 'string',
		'default' => ''
	],
	'blockVersion' => array(
		'type' => 'number',
		'default' => '',
	),
	'queryId' => [
		'type' => 'number'
	],
	'query' => [
		'type' => 'object',
		'default' => [
			'perPage' => null,
			'pages' => 0,
			'offset' => 0,
			'postType' => 'post',
			'order' => 'desc',
			'orderBy' => 'date',
			'author' => '',
			'search' => '',
			'exclude' => [],
			'sticky' => '',
			'inherit' => false,
			'taxQuery' => null,
			'parents' => [],
			'format' => []
		]
	],
	'selectedVariation' => [
		'type' => 'string',
		'default' => 'div'
	],
	'tagName' => [
		'type' => 'string',
		'default' => 'div'
	],
	'showOffset' => [
		'type' => 'boolean',
		'default' => false,
	],
];

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


```
