Can you please add some examples of how to attach the additional PHP code?

Top WooCommerce & WordPress Plugins Forums Maximum Products per User for WooCommerce Can you please add some examples of how to attach the additional PHP code?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #100864
    veronica
    Guest

    Can you please add some DEV examples of how to attach some additional PHP code using the filters to the max-limit notices. do_shortcode is not working in my custom template.

    1 – example of filter/ action to call the when user has hit their download limit so I can display and add more custom code surrounding it

    #100865
    Pablo
    Moderator
    Plugin Support

    Hi Veronica, sorry for the delay.

    Can you please elaborate your question? What would be exactly the moment for the hook to be triggered? When an order status changes for example and the user can’t buy a specific product? Or when the user tries to add a product to cart that is already off the limit?

    And what custom code you’d like to add?

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