Usage of [order_func] shortcode

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #135028
    Michael McSwain
    Participant

    Can you please explain what variables I can call when using the [order_func] shortcode?

    I understand that I can call things such as “get_billing_first_name”, “get_billing_last_name”, or “get_billing_email”, but it’s unclear what the full list of options are for this shortcode.  I’ve discovered (for example) that I cannot call things such as “get_order_id”.)

    Thanks!

    #135088
    Moshtafizur
    Moderator
    Plugin Support

    Hi there,

    You can check more functions you can use (e.g., get_billing_country) at https://woocommerce.github.io/code-reference/classes/WC-Order.html.

    #135092
    Michael McSwain
    Participant

    Perfect! Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.