woocommerce_simple_registration

The WooCommerce Simple Registration woocommerce simple registration shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[woocommerce_simple_registration]'); 
  1. // variable usage 
  2. $result = do_shortcode('[woocommerce_simple_registration]'); 
  3. echo $result;  

Defined (1)

The shortcode is defined in the following location(s).

/woocommerce-simple-registration.php  
  1.  
  2. // Initialize plugin parts 
  3. $this->init(); 
  4.  
  5. //woocommerce_simple_registrationshortcode 
  6. add_shortcode( woocommerce_simple_registration, array( $this, 'registration_template' ) ); 
  7.  
  8. // add a body class on this page 
  9. add_filter( 'body_class', array( $this, 'body_class' ) ); 
  10.  
  11. // add first name and last name to register form