Wysiwyg::maybe_filter_buttons_2( array $buttons )

Filter 2nd row of buttons.


Parameters

$buttons

(array) (Required) Array of buttons to include.


Top ↑

Return

(array) Filtered array of buttons.


Top ↑

Source

File: src/Tribe/Admin/Wysiwyg.php

	public function maybe_filter_buttons_2( $buttons ) {
		if (
			empty( $this->args ) ||
			! isset( $this->args['buttons_2'] ) ||
			empty( $this->args['buttons_2'] )
		) {
			return $buttons;
		}

		return $this->args['buttons_2'];
	}

Top ↑

Changelog

Changelog
Version Description
5.0.12 Introduced.