메소드 | 설명 | |
---|---|---|
best_selling_products ( array $atts ) : string | List best selling products on sale. | |
cart ( ) : string | Cart page shortcode. | |
checkout ( mixed $atts ) : string | Checkout page shortcode. | |
featured_products ( array $atts ) : string | Output featured products. | |
init ( ) | Init shortcodes. | |
my_account ( mixed $atts ) : string | My account page shortcode. | |
order_by_rating_post_clauses ( array $args ) : array | woocommerce_order_by_rating_post_clauses function. | |
order_tracking ( mixed $atts ) : string | Order tracking page shortcode. | |
product ( array $atts ) : string | Display a single product. | |
product_add_to_cart ( array $atts ) : string | Display a single product price + cart button. | |
product_add_to_cart_url ( array $atts ) : string | Get the add to cart URL for a product. | |
product_attribute ( array $atts ) : string | List products with an attribute shortcode. | |
product_categories ( array $atts ) : string | List all (or limited) product categories. | |
product_category ( array $atts ) : string | List products in a category shortcode. | |
product_page ( array $atts ) : string | Show a single product page. | |
products ( array $atts ) : string | List multiple products shortcode. | |
recent_products ( array $atts ) : string | Recent Products shortcode. | |
related_products ( array $atts ) : string | List related products. | |
sale_products ( array $atts ) : string | List all products on sale. | |
shop_messages ( ) : string | Show messages. | |
shortcode_wrapper ( string[] $function, array $atts = [], $wrapper = ['class' => 'woocommerce', 'before' => null, 'after' => null] ) : string | Shortcode Wrapper. | |
top_rated_products ( array $atts ) : string | List top rated products on sale. |
메소드 | 설명 | |
---|---|---|
_maybe_add_category_args ( array $args, string $category, string $operator ) : array; | Adds a tax_query index to the query to filter by category. | |
product_loop ( array $query_args, array $atts, string $loop_name ) : string | Loop over found products. |
public static best_selling_products ( array $atts ) : string | ||
$atts | array | |
리턴 | string |
public static featured_products ( array $atts ) : string | ||
$atts | array | |
리턴 | string |
public static my_account ( mixed $atts ) : string | ||
$atts | mixed | |
리턴 | string |
public static order_by_rating_post_clauses ( array $args ) : array | ||
$args | array | |
리턴 | array |
public static order_tracking ( mixed $atts ) : string | ||
$atts | mixed | |
리턴 | string |
public static product_add_to_cart ( array $atts ) : string | ||
$atts | array | |
리턴 | string |
public static product_add_to_cart_url ( array $atts ) : string | ||
$atts | array | |
리턴 | string |
public static product_attribute ( array $atts ) : string | ||
$atts | array | |
리턴 | string |
public static product_categories ( array $atts ) : string | ||
$atts | array | |
리턴 | string |
public static product_category ( array $atts ) : string | ||
$atts | array | |
리턴 | string |
public static product_page ( array $atts ) : string | ||
$atts | array | |
리턴 | string |
public static recent_products ( array $atts ) : string | ||
$atts | array | |
리턴 | string |
public static sale_products ( array $atts ) : string | ||
$atts | array | |
리턴 | string |
public static shortcode_wrapper ( string[] $function, array $atts = [], $wrapper = ['class' => 'woocommerce', 'before' => null, 'after' => null] ) : string | ||
$function | string[] | |
$atts | array | (default: array()) |
리턴 | string |
public static top_rated_products ( array $atts ) : string | ||
$atts | array | |
리턴 | string |