Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hiendnguyen/5d6c7b390fa9df0e2d9e15272af78a53 to your computer and use it in GitHub Desktop.
Save hiendnguyen/5d6c7b390fa9df0e2d9e15272af78a53 to your computer and use it in GitHub Desktop.
WooCommerce Registration Custom Fields
<?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