Skip to content

Commit 20c6b32

Browse files
committed
cleanup
1 parent cdcb5b6 commit 20c6b32

10 files changed

+3
-191
lines changed

admin/class-paystack-forms-admin.php

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,5 @@
11
<?php
22

3-
/**
4-
* The admin-specific functionality of the plugin.
5-
*
6-
* @link kendyson.com
7-
* @since 1.0.0
8-
*
9-
* @package Paystack_Forms
10-
* @subpackage Paystack_Forms/admin
11-
*/
12-
13-
/**
14-
* The admin-specific functionality of the plugin.
15-
*
16-
* Defines the plugin name, version, and two examples hooks for how to
17-
* enqueue the admin-specific stylesheet and JavaScript.
18-
*
19-
* @package Paystack_Forms
20-
* @subpackage Paystack_Forms/admin
21-
* @author kendysond <[email protected]>
22-
*/
233
class Paystack_Forms_Admin {
244

255
private $plugin_name;

includes/class-paystack-forms-activator.php

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,5 @@
11
<?php
22

3-
/**
4-
* Fired during plugin activation
5-
*
6-
* @link kendyson.com
7-
* @since 1.0.0
8-
*
9-
* @package Paystack_Forms
10-
* @subpackage Paystack_Forms/includes
11-
*/
12-
13-
/**
14-
* Fired during plugin activation.
15-
*
16-
* This class defines all code necessary to run during the plugin's activation.
17-
*
18-
* @since 1.0.0
19-
* @package Paystack_Forms
20-
* @subpackage Paystack_Forms/includes
21-
* @author kendysond <[email protected]>
22-
*/
233
class Paystack_Forms_Activator {
244

255
/**

includes/class-paystack-forms-deactivator.php

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,6 @@
11
<?php
22

3-
/**
4-
* Fired during plugin deactivation
5-
*
6-
* @link kendyson.com
7-
* @since 1.0.0
8-
*
9-
* @package Paystack_Forms
10-
* @subpackage Paystack_Forms/includes
11-
*/
123

13-
/**
14-
* Fired during plugin deactivation.
15-
*
16-
* This class defines all code necessary to run during the plugin's deactivation.
17-
*
18-
* @since 1.0.0
19-
* @package Paystack_Forms
20-
* @subpackage Paystack_Forms/includes
21-
* @author kendysond <[email protected]>
22-
*/
234
class Paystack_Forms_Deactivator {
245

256
/**

includes/class-paystack-forms-i18n.php

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,6 @@
11
<?php
22

3-
/**
4-
* Define the internationalization functionality
5-
*
6-
* Loads and defines the internationalization files for this plugin
7-
* so that it is ready for translation.
8-
*
9-
* @link kendyson.com
10-
* @since 1.0.0
11-
*
12-
* @package Paystack_Forms
13-
* @subpackage Paystack_Forms/includes
14-
*/
15-
16-
/**
17-
* Define the internationalization functionality.
18-
*
19-
* Loads and defines the internationalization files for this plugin
20-
* so that it is ready for translation.
21-
*
22-
* @since 1.0.0
23-
* @package Paystack_Forms
24-
* @subpackage Paystack_Forms/includes
25-
* @author kendysond <[email protected]>
26-
*/
3+
274
class Paystack_Forms_i18n {
285

296

includes/class-paystack-forms-loader.php

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,6 @@
11
<?php
22

3-
/**
4-
* Register all actions and filters for the plugin
5-
*
6-
* @link kendyson.com
7-
* @since 1.0.0
8-
*
9-
* @package Paystack_Forms
10-
* @subpackage Paystack_Forms/includes
11-
*/
12-
13-
/**
14-
* Register all actions and filters for the plugin.
15-
*
16-
* Maintain a list of all hooks that are registered throughout
17-
* the plugin, and register them with the WordPress API. Call the
18-
* run function to execute the list of actions and filters.
19-
*
20-
* @package Paystack_Forms
21-
* @subpackage Paystack_Forms/includes
22-
* @author kendysond <[email protected]>
23-
*/
3+
244
class Paystack_Forms_Loader {
255

266
/**

includes/class-paystack-forms.php

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,6 @@
11
<?php
22

3-
/**
4-
* The file that defines the core plugin class
5-
*
6-
* A class definition that includes attributes and functions used across both the
7-
* public-facing side of the site and the admin area.
8-
*
9-
* @link kendyson.com
10-
* @since 1.0.0
11-
*
12-
* @package Paystack_Forms
13-
* @subpackage Paystack_Forms/includes
14-
*/
153

16-
/**
17-
* The core plugin class.
18-
*
19-
* This is used to define internationalization, admin-specific hooks, and
20-
* public-facing site hooks.
21-
*
22-
* Also maintains the unique identifier of this plugin as well as the current
23-
* version of the plugin.
24-
*
25-
* @since 1.0.0
26-
* @package Paystack_Forms
27-
* @subpackage Paystack_Forms/includes
28-
* @author kendysond <[email protected]>
29-
*/
304
class Paystack_Forms {
315

326
/**

paystack_forms.zip

-1.8 KB
Binary file not shown.

public/class-paystack-forms-public.php

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,6 @@
11
<?php
22

3-
/**
4-
* The public-facing functionality of the plugin.
5-
*
6-
* @link kendyson.com
7-
* @since 1.0.0
8-
*
9-
* @package Paystack_Forms
10-
* @subpackage Paystack_Forms/public
11-
*/
12-
13-
/**
14-
* The public-facing functionality of the plugin.
15-
*
16-
* Defines the plugin name, version, and two examples hooks for how to
17-
* enqueue the admin-specific stylesheet and JavaScript.
18-
*
19-
* @package Paystack_Forms
20-
* @subpackage Paystack_Forms/public
21-
* @author kendysond <[email protected]>
22-
*/
3+
234
class Paystack_Forms_Public {
245

256
/**
Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +0,0 @@
1-
<?php
2-
3-
/**
4-
* Provide a public-facing view for the plugin
5-
*
6-
* This file is used to markup the public-facing aspects of the plugin.
7-
*
8-
* @link kendyson.com
9-
* @since 1.0.0
10-
*
11-
* @package Paystack_Forms
12-
* @subpackage Paystack_Forms/public/partials
13-
*/
14-
?>
15-
16-
<!-- This file should primarily consist of HTML with a little bit of PHP. -->

uninstall.php

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,6 @@
11
<?php
22

3-
/**
4-
* Fired when the plugin is uninstalled.
5-
*
6-
* When populating this file, consider the following flow
7-
* of control:
8-
*
9-
* - This method should be static
10-
* - Check if the $_REQUEST content actually is the plugin name
11-
* - Run an admin referrer check to make sure it goes through authentication
12-
* - Verify the output of $_GET makes sense
13-
* - Repeat with other user roles. Best directly by using the links/query string parameters.
14-
* - Repeat things for multisite. Once for a single site in the network, once sitewide.
15-
*
16-
* This file may be updated more in future version of the Boilerplate; however, this is the
17-
* general skeleton and outline for how the file should work.
18-
*
19-
* For more information, see the following discussion:
20-
* https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/pull/123#issuecomment-28541913
21-
*
22-
* @link kendyson.com
23-
* @since 1.0.0
24-
*
25-
* @package Paystack_Forms
26-
*/
273

28-
// If uninstall not called from WordPress, then exit.
294
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
305
exit;
316
}

0 commit comments

Comments
 (0)