brizy-logo
BRIZY_VERSION, 'site_lang' => get_bloginfo( 'language' ), 'feedback_key' => $reason_key ]; if ( ! empty( $form[ 'reason_' . $reason_key ] ) ) { $body['feedback'] = sanitize_text_field( $form[ 'reason_' . $reason_key ] ); } wp_remote_post( 'http://test.themefuse.com/', [ 'timeout' => 30, 'body' => $body, ] ); wp_send_json_success(); } public function admin_enqueue_scripts() { if ( ! $this->is_plugins_page() ) { return; } wp_enqueue_script( 'jquery-ui-dialog' ); wp_enqueue_style( 'wp-jquery-ui-dialog' ); } public function admin_footer() { if ( ! $this->is_plugins_page() ) { return; } $deactivate_reasons = [ 'no_longer_needed' => [ 'title' => __( 'I no longer need the plugin', 'brizy' ), 'input_placeholder' => '', ], 'found_a_better_plugin' => [ 'title' => __( 'I found a better plugin', 'brizy' ), 'input_placeholder' => __( 'Please share which plugin', 'brizy' ), ], 'couldnt_get_the_plugin_to_work' => [ 'title' => __( 'I couldn\'t get the plugin to work', 'brizy' ), 'input_placeholder' => '', ], 'temporary_deactivation' => [ 'title' => __( 'It\'s a temporary deactivation', 'brizy' ), 'input_placeholder' => '', ], 'brizy_pro' => [ 'title' => __( 'I have Brizy Pro', 'brizy' ), 'input_placeholder' => '', 'alert' => __( 'Wait! Don\'t deactivate Brizy. You have to activate both Brizy and Brizy Pro in order for the plugin to work.', 'brizy' ), ], 'other' => [ 'title' => __( 'Other', 'brizy' ), 'input_placeholder' => __( 'Please share the reason', 'brizy' ), ], ]; ?>