<?php
/**
 * Direct access is not allowed.
 *
 * @package config/value-addon.php
 */

if ( ! defined( 'ABSPATH' ) ) {

	exit;
}

return [
	'variable-groups'      => [],
	'dynamic-value-groups' => blockera_get_experimental( [ 'data', 'dynamicValue' ] ) ? [
		'post'           => [
			'label' => __( 'Posts and Pages', 'blockera' ),
			'items' => blockera_load( 'dynamic-values.post', __DIR__ ),
		],
		'archive'        => [
			'label' => __( 'Archive', 'blockera' ),
			'items' => blockera_load( 'dynamic-values.archive', __DIR__ ),
		],
		'featured-image' => [
			'label' => __( 'Featured Image', 'blockera' ),
			'items' => blockera_load( 'dynamic-values.featured-image', __DIR__ ),
		],
		'other'          => [
			'label' => __( 'Other', 'blockera' ),
			'items' => blockera_load( 'dynamic-values.other', __DIR__ ),
		],
		'user'           => [
			'label' => __( 'User', 'blockera' ),
			'items' => blockera_load( 'dynamic-values.user', __DIR__ ),
		],
		'site'           => [
			'label' => __( 'Site', 'blockera' ),
			'items' => blockera_load( 'dynamic-values.site', __DIR__ ),
		],
	] : [],
];
