public function add_button($plugin_array) { $plugin_array[$this->button_slug] = self::url('js/shortcode-button.js'); return $plugin_array; }