Tribe__Editor__Blocks__Abstract::default_attributes()
Return the block default attributes
Contents
Parameters
- $attributes
-
(array) (Required)
Return
(array)
Source
File: src/Tribe/Editor/Blocks/Abstract.php
public function default_attributes() {
$attributes = array();
/**
* Filters the default attributes
*
* @param array $params The attributes
* @param object $this The current object
*/
$attributes = apply_filters( 'tribe_block_attributes_defaults', $attributes, $this );
return $attributes;
}
Changelog
| Version | Description |
|---|---|
| 4.8 | Introduced. |