ailogin

[ailogin] shortcode.


Usage

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

Defined (1)

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

/include/frontend.inc.php  
  1. $content = sprintf (_n( '%d item', '%d items', WC()->cart->cart_contents_count ), WC()->cart->cart_contents_count ) .' - '. WC()->cart->get_cart_total(); 
  2. return '<a href="' . esc_url( $href ) . '"' .$edit_tag . '>' . $content . '</a>'; 
  3.  
  4. /** [ailogin] shortcode */ 
  5. add_shortcode( 'ailogin', 'aiwoo_shortcode_login' ); 
  6. function aiwoo_shortcode_login( $atts, $content = null ) { 
  7. global $woocommerce; 
  8. extract(shortcode_atts(array( 
  9. "edit_tag" => "" 
  10. ), $atts ) );