Tribe__Events__Editor__Template::attributes( array $default_attributes = array() )
Return the attributes of the template
Contents
Parameters
- $default_attributes
-
(array) (Optional)
Default value: array()
Return
(array)
Source
File: src/Tribe/Editor/Template.php
public function attributes( $default_attributes = array() ) {
return wp_parse_args(
$this->get( 'attributes', array() ),
$default_attributes
);
}
Changelog
| Version | Description |
|---|---|
| 4.7 | Introduced. |