Skip to content

Commit 35b7ad2

Browse files
committed
Change file to reflect change of account ownership and updated github page
1 parent 0c0b8d5 commit 35b7ad2

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

paystack-forms.php

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<?php
22
/*
3-
Plugin Name: Payment forms for Paystack
4-
Plugin URI: https://github.com/Kendysond/Wordpress-paystack-forms
5-
Description: Payment forms for Paystack allows you create forms that will be used to bill clients for goods and services via Paystack.
6-
Version: 2.2.1
7-
Author: Douglas Kendyson
8-
Author URI: http://kendyson.com
9-
License: GPL-2.0+
10-
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
3+
Plugin Name: Payment forms for Paystack
4+
Plugin URI: https://github.com/PaystackHQ/Wordpress-Payment-forms-for-Paystack
5+
Description: Payment forms for Paystack allows you create forms that will be used to bill clients for goods and services via Paystack.
6+
Version: 2.3.0
7+
Author: Paystack
8+
Author URI: http://paystack.com
9+
License: GPL-2.0+
10+
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
1111
*/
1212
// If this file is called directly, abort.
1313
if ( ! defined( 'WPINC' ) ) {
14-
die;
14+
die;
1515
}
1616
define( 'KKD_PFF_PAYSTACK_PLUGIN_PATH', plugins_url( __FILE__ ) );
1717
define( 'KKD_PFF_PAYSTACK_MAIN_FILE', __FILE__ );
@@ -56,8 +56,8 @@ function kkd_pff_paystack_enqueueStylesFix() {
5656

5757

5858
function kkd_pff_paystack_activate_paystack_forms() {
59-
require_once plugin_dir_path( __FILE__ ) . 'includes/class-paystack-forms-activator.php';
60-
Kkd_Pff_Paystack_Activator::activate();
59+
require_once plugin_dir_path( __FILE__ ) . 'includes/class-paystack-forms-activator.php';
60+
Kkd_Pff_Paystack_Activator::activate();
6161
}
6262

6363
register_activation_hook( __FILE__, 'kkd_pff_paystack_activate_paystack_forms' );
@@ -67,8 +67,8 @@ function kkd_pff_paystack_activate_paystack_forms() {
6767

6868
function kkd_pff_paystack_run_paystack_forms() {
6969

70-
$plugin = new Kkd_Pff_Paystack();
71-
$plugin->run();
70+
$plugin = new Kkd_Pff_Paystack();
71+
$plugin->run();
7272

7373
}
7474
kkd_pff_paystack_run_paystack_forms();
@@ -92,23 +92,23 @@ function getSel()
9292
"Insert Text",
9393
insertText
9494
);
95-
function insertText(){
95+
function insertText(){
9696
QTags.insertContent('[text name="Text Title"]');
9797
}
98-
QTags.addButton(
98+
QTags.addButton(
9999
"ta_shortcode",
100100
"Insert Textarea",
101101
insertTextarea
102102
);
103-
function insertTextarea(){
103+
function insertTextarea(){
104104
QTags.insertContent('[textarea name="Text Title"]');
105105
}
106-
QTags.addButton(
106+
QTags.addButton(
107107
"s_shortcode",
108108
"Insert Select Dropdown",
109109
insertSelectb
110110
);
111-
function insertSelectb(){
111+
function insertSelectb(){
112112
QTags.insertContent('[select name="Text Title" options="option 1,option 2,option 3"]');
113113
}
114114
QTags.addButton(
@@ -135,14 +135,14 @@ function insertCheckboxb(){
135135
function insertDatepickerb(){
136136
QTags.insertContent('[datepicker name="Datepicker Title"]');
137137
}
138-
QTags.addButton(
139-
"i_shortcode",
140-
"Insert File Upload",
141-
insertInput
142-
);
143-
function insertInput(){
144-
QTags.insertContent('[input name="File Name"]');
145-
}
138+
QTags.addButton(
139+
"i_shortcode",
140+
"Insert File Upload",
141+
insertInput
142+
);
143+
function insertInput(){
144+
QTags.insertContent('[input name="File Name"]');
145+
}
146146
QTags.addButton(
147147
"ngs_shortcode",
148148
"Insert Nigerian States",
@@ -169,7 +169,7 @@ function insertSelectCountries(){
169169
// function kkd_pff_paystack_invoice_url_rewrite(){
170170
// global $wp_rewrite;
171171
// $plugin_url = plugins_url( 'includes/paystack-invoice.php', __FILE__ );
172-
// $plugin_url = substr( $plugin_url, strlen( home_url() ) + 1 );
172+
// $plugin_url = substr( $plugin_url, strlen( home_url() ) + 1 );
173173
// $wp_rewrite->non_wp_rules['paystackinvoice$'] = $plugin_url; WP_PLUGIN_URL . '/data-fetcher/list-data.php'
174174
// $wp_rewrite->non_wp_rules['paystackinvoice/$'] = $plugin_url;
175175
// file_put_contents(ABSPATH.'.htaccess', $wp_rewrite->mod_rewrite_rules() );

0 commit comments

Comments
 (0)