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.", "product-blocks" ) ), array( 'id' => 'limited-features', 'input' => false, 'text' => __( "Limited features on the free version.", "product-blocks" ) ), array( 'id' => 'better-plugin', 'input' => true, 'text' => __( "I found a better plugin.", "product-blocks" ), 'placeholder' => __( "Please share which plugin.", "product-blocks" ), ), array( 'id' => 'temporary-deactivation', 'input' => false, 'text' => __( "It's a temporary deactivation.", "product-blocks" ) ), array( 'id' => 'other', 'input' => true, 'text' => __( "Other.", "product-blocks" ), 'placeholder' => __( "Please share the reason.", "product-blocks" ), ), ); } /** * Output HTML for the deactivation modal. * * @return void */ public function deactive_html_container() { ?>