Support » Plugin: WooCommerce » Adding HTML to Woocommerce Login Page

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can see where the hooks are on a standard WooCommerce My Account page here:
    https://hooks.wpdesk.org/my-account/

    If your theme has its own my-account template, the hooks might vary.

    You can use a hook to insert html. Your hook function can test whether the current user is logged in or not.
    get_current_user_id()
    returns the current user’s ID, or 0 if no user is logged in.

    Your code goes in functions.php in your child theme.

    Thread Starter scuffed

    (@scuffed)

    Thank you so much for your response lorro you are a life saver!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding HTML to Woocommerce Login Page’ is closed to new replies.