aibasket

[aibasket] shortcode.


Usage

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

Defined (1)

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

/include/frontend.inc.php  
  1. $content = $content != '' ? $content : __( 'Cart' ); 
  2. return '<a href="' . esc_url( $href ) . '"' .$edit_tag . '>' . $content . '</a>'; 
  3.  
  4. /** [aibasket] shortcode */ 
  5. add_shortcode( 'aibasket', 'aiwoo_shortcode_basket' ); 
  6. function aiwoo_shortcode_basket( $atts, $content = null ) { 
  7. global $woocommerce; 
  8. extract(shortcode_atts(array( 
  9. "edit_tag" => "" 
  10. ), $atts ) );