woocommerce_my_account

The WooCommerce Simple Registration woocommerce my account shortcode.


Usage

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

Defined (1)

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

/woocommerce-simple-registration.php  
  1. endif; 
  2.  
  3. wc_get_template( 'registration-form.php', array(), 'woocommerce-simple-registration/', plugin_dir_path( __FILE__ ) . 'templates/' ); 
  4.  
  5. else : 
  6. echo do_shortcode( '[woocommerce_my_account]' ); 
  7. endif; 
  8.  
  9. $return = ob_get_contents(); 
  10. ob_end_clean(); 
  11.