Tribe__Editor__Blocks__Abstract::default_attributes()

Return the block default attributes


Parameters

$attributes

(array) (Required)


Top ↑

Return

(array)


Top ↑

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;
	}

Top ↑

Changelog

Changelog
Version Description
4.8 Introduced.