action = 'delete'; $this->add_data( 'plugin-action', $this->action ); $this->remove_class( 'button-primary' ); } protected function build_internal() { // nothing } /** * @param bool $echo * * @return string|void */ public function get_button() { $button = 'get_data() ) . '>'; if ( $this->type == 'internal' || ! $this->is_plugin_install() || $this->is_plugin_activate() ) { $button = ''; } return $button; } }