name = esc_html__( 'Form', 'charitable' ); $this->slug = 'form'; $this->icon = 'panel_form.svg'; $this->order = 25; $this->sidebar = false; } /** * Render the navigation button. * * Overrides the base implementation so the button does not carry a * `data-panel` attribute — we intercept the click in JS and open an * upgrade modal rather than switching panels. * * @since 1.8.10.5 * * @param mixed $campaign Current campaign object. * @param string $view The current view. */ public function button( $campaign, $view ) { ?>