Skip to content

Commit

Permalink
Change file to reflect change of account ownership and updated github…
Browse files Browse the repository at this point in the history
… page
  • Loading branch information
steveamaza committed Dec 15, 2017
1 parent 0c0b8d5 commit 35b7ad2
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions paystack-forms.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?php
/*
Plugin Name: Payment forms for Paystack
Plugin URI: https://github.com/Kendysond/Wordpress-paystack-forms
Description: Payment forms for Paystack allows you create forms that will be used to bill clients for goods and services via Paystack.
Version: 2.2.1
Author: Douglas Kendyson
Author URI: http://kendyson.com
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
Plugin Name: Payment forms for Paystack
Plugin URI: https://github.com/PaystackHQ/Wordpress-Payment-forms-for-Paystack
Description: Payment forms for Paystack allows you create forms that will be used to bill clients for goods and services via Paystack.
Version: 2.3.0
Author: Paystack
Author URI: http://paystack.com
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
die;
}
define( 'KKD_PFF_PAYSTACK_PLUGIN_PATH', plugins_url( __FILE__ ) );
define( 'KKD_PFF_PAYSTACK_MAIN_FILE', __FILE__ );
Expand Down Expand Up @@ -56,8 +56,8 @@ function kkd_pff_paystack_enqueueStylesFix() {


function kkd_pff_paystack_activate_paystack_forms() {
require_once plugin_dir_path( __FILE__ ) . 'includes/class-paystack-forms-activator.php';
Kkd_Pff_Paystack_Activator::activate();
require_once plugin_dir_path( __FILE__ ) . 'includes/class-paystack-forms-activator.php';
Kkd_Pff_Paystack_Activator::activate();
}

register_activation_hook( __FILE__, 'kkd_pff_paystack_activate_paystack_forms' );
Expand All @@ -67,8 +67,8 @@ function kkd_pff_paystack_activate_paystack_forms() {

function kkd_pff_paystack_run_paystack_forms() {

$plugin = new Kkd_Pff_Paystack();
$plugin->run();
$plugin = new Kkd_Pff_Paystack();
$plugin->run();

}
kkd_pff_paystack_run_paystack_forms();
Expand All @@ -92,23 +92,23 @@ function getSel()
"Insert Text",
insertText
);
function insertText(){
function insertText(){
QTags.insertContent('[text name="Text Title"]');
}
QTags.addButton(
QTags.addButton(
"ta_shortcode",
"Insert Textarea",
insertTextarea
);
function insertTextarea(){
function insertTextarea(){
QTags.insertContent('[textarea name="Text Title"]');
}
QTags.addButton(
QTags.addButton(
"s_shortcode",
"Insert Select Dropdown",
insertSelectb
);
function insertSelectb(){
function insertSelectb(){
QTags.insertContent('[select name="Text Title" options="option 1,option 2,option 3"]');
}
QTags.addButton(
Expand All @@ -135,14 +135,14 @@ function insertCheckboxb(){
function insertDatepickerb(){
QTags.insertContent('[datepicker name="Datepicker Title"]');
}
QTags.addButton(
"i_shortcode",
"Insert File Upload",
insertInput
);
function insertInput(){
QTags.insertContent('[input name="File Name"]');
}
QTags.addButton(
"i_shortcode",
"Insert File Upload",
insertInput
);
function insertInput(){
QTags.insertContent('[input name="File Name"]');
}
QTags.addButton(
"ngs_shortcode",
"Insert Nigerian States",
Expand All @@ -169,7 +169,7 @@ function insertSelectCountries(){
// function kkd_pff_paystack_invoice_url_rewrite(){
// global $wp_rewrite;
// $plugin_url = plugins_url( 'includes/paystack-invoice.php', __FILE__ );
// $plugin_url = substr( $plugin_url, strlen( home_url() ) + 1 );
// $plugin_url = substr( $plugin_url, strlen( home_url() ) + 1 );
// $wp_rewrite->non_wp_rules['paystackinvoice$'] = $plugin_url; WP_PLUGIN_URL . '/data-fetcher/list-data.php'
// $wp_rewrite->non_wp_rules['paystackinvoice/$'] = $plugin_url;
// file_put_contents(ABSPATH.'.htaccess', $wp_rewrite->mod_rewrite_rules() );
Expand Down

0 comments on commit 35b7ad2

Please sign in to comment.