Wysiwyg::maybe_filter_buttons_2( array $buttons )
Filter 2nd row of buttons.
Contents
Parameters
- $buttons
-
(array) (Required) Array of buttons to include.
Return
(array) Filtered array of buttons.
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'];
}
Changelog
| Version | Description |
|---|---|
| 5.0.12 | Introduced. |