# ablocks/2.12.0/includes/blocks/academy-course-search/attributes.php

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

- Page: https://pluginprobe.com/plugins/ablocks/2.12.0/code/includes/blocks/academy-course-search/attributes.php
- Raw: https://pluginprobe.com/plugins/ablocks/2.12.0/raw/includes/blocks/academy-course-search/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.12.0/code/includes/blocks/academy-course-search/attributes.php#L10-L20`.

```php
<?php

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

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

$attributes = [
	'block_id' => array(
		'type' => 'string',
		'default' => '',
	),
	'blockVersion' => array(
		'type' => 'number',
		'default' => 2,
	),
	'placeholder' => array(
		'type' => 'string',
		'default' => 'Search Course',
	),
	'search_box_color' => array(
		'type' => 'string',
		'default' => '#000000',
	),
	'search_placeholder_color' => array(
		'type' => 'string',
		'default' => '#444',
	),
	'search_icon_color' => array(
		'type' => 'string',
		'default' => '#333',
	),
	'search_background_color' => array(
		'type' => 'string',
		'default' => '#fff',
	),

];

$attributes = array_merge(
	$attributes,
	Typography::get_attribute( 'search_typography', true ),
	Border::get_attribute( 'search_border', true ),
);

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


```
