PHP Class WC_Shortcode_Checkout

Used on the checkout page, the checkout shortcode displays the checkout process.
Author: WooThemes
Show file Open project: woocommerce/woocommerce

Public Methods

Method Description
get ( array $atts ) : string Get the shortcode content.
output ( array $atts ) Output the shortcode.

Private Methods

Method Description
checkout ( ) Show the checkout.
order_pay ( integer $order_id ) Show the pay page.
order_received ( integer $order_id ) Show the thanks page.

Method Details

get() public static method

Get the shortcode content.
public static get ( array $atts ) : string
$atts array
return string

output() public static method

Output the shortcode.
public static output ( array $atts )
$atts array