Created
March 7, 2017 06:02
-
-
Save hiendnguyen/5d6c7b390fa9df0e2d9e15272af78a53 to your computer and use it in GitHub Desktop.
WooCommerce Registration Custom Fields
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Plugin Name: WooCommerce Registration Custom Fields | |
* Plugin URI: https://vndeveloper.com | |
* Description: Add Fist Name, Last Name, Phone, Company, Role fields as well as Privacy Policy and Terms of Use links into WooCommerce Registration form. | |
* Version: 1.0.0 | |
* Author: VNDeveloper | |
* Author URI: https://vndeveloper.com | |
* Requires at least: 4.1 | |
* Tested up to: 4.7 | |
* Text Domain: vndev-wooc-signup | |
* Domain Path: /languages/ | |
* License: GPL2+ | |
*/ | |
if(!defined('ABSPATH')) { | |
exit; | |
} | |
class VNDeveloper_Wooc_Registration_Custom_Fields { | |
public function __construct() { | |
$this->includes(); | |
$this->init(); | |
if(is_admin()) { | |
} | |
} | |
private function includes() { | |
include( 'includes/registration-form.php' ); | |
} | |
public function init() { | |
} | |
} | |
new VNDeveloper_Wooc_Registration_Custom_Fields(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment