function mce_buttons($buttons) { if (count($this->buttons) && Conferencer_Shortcode::$first_button) { $buttons[] = "|"; Conferencer_Shortcode::$first_button = false; } foreach ($this->buttons as $button) { $buttons[] = 'conferencer_' . $button; } return $buttons; }