deactive_container_css(); $this->deactive_container_js(); $this->deactive_html_container(); } /** * Get deactivation reasons and field settings. * * @return array[] List of deactivation options. */ public function get_deactive_settings() { return array( array( 'id' => 'not-working', 'input' => false, 'text' => __( 'The plugin isn’t working properly.', 'optin' ), ), array( 'id' => 'limited-features', 'input' => false, 'text' => __( 'Limited features on the free version.', 'optin' ), ), array( 'id' => 'better-plugin', 'input' => true, 'text' => __( 'I found a better plugin.', 'optin' ), 'placeholder' => __( 'Please share which plugin.', 'optin' ), ), array( 'id' => 'temporary-deactivation', 'input' => false, 'text' => __( "It's a temporary deactivation.", 'optin' ), ), array( 'id' => 'other', 'input' => true, 'text' => __( 'Other.', 'optin' ), 'placeholder' => __( 'Please share the reason.', 'optin' ), ), ); } /** * Output HTML for the deactivation modal. * * @return void */ public function deactive_html_container() { ?>

    get_deactive_settings() as $key => $setting ) { ?>