# userswp/1.2.67/vendor/ayecode/wp-deactivation-survey/plugin.php

UsersWP – Front-end login form, User Registration, User Profile &amp; Members Directory plugin for WP, version 1.2.67. 41 lines.

- Page: https://pluginprobe.com/plugins/userswp/1.2.67/code/vendor/ayecode/wp-deactivation-survey/plugin.php
- Raw: https://pluginprobe.com/plugins/userswp/1.2.67/raw/vendor/ayecode/wp-deactivation-survey/plugin.php
- Modified: 2024-01-29T14:47:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/userswp/1.2.67/code/vendor/ayecode/wp-deactivation-survey/plugin.php#L10-L20`.

```php
<?php
/**
 * This is a file to run this class for testing.
 *
 * @wordpress-plugin
 * Plugin Name: AyeCode Deactivation Survey Testing
 * Description: If you see this as a plugin something has gone wrong.
 * Version: 1.0.7
 * Author: AyeCode
 * Author URI: https://ayecode.io
 * Text Domain: ayecode-ds
 * Domain Path: /languages
 * Requires at least: 4.2
 * Tested up to: 5.8
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( ! class_exists( 'AyeCode_Deactivation_Survey' ) ) {
	// include the class if needed
	include_once( dirname( __FILE__ ) . "/wp-deactivation-survey.php" );
}


//add_filter('ayecode_deactivation_survey_plugins', function($plugins) {
//
//	$plugins[] = (object)array(
//		'slug'		=> 'ayecode-deactivation-survey-testing',
//		'version'	=> '1.0.0'
//	);
//
//	return $plugins;
//
//});

AyeCode_Deactivation_Survey::instance(array(
	'slug'		=> 'ayecode-deactivation-survey-testing',
	'version'	=> '1.0.0'
));
```
