• Resolved Chris Yau

    (@chris-yau)


    Hi,

    I have tried to use smart logic with Page URL for the snippets run on specific admin page (e.g. For running at only Order Admin > Page URL contains “shop_order”) but seems failed.

    How can snippets to run on specify admin pages in backend?

    Many thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi Chris,

    Unfortunately, the way the Page URL conditions work at the moment we don’t check query params like in your example. Most of the conditions and auto-insert locations are aimed at inserting code in the frontend, for the admin you are going to need to use a bit of PHP in order to make a condition like that work.

    You can also reach out at https://wpcode.com/contact and share your snippet code with us and we’ll try to provide further guidance regarding the best way to integrate that check specific to your code.

Viewing 1 replies (of 1 total)
  • The topic ‘Page URL smart logic for backend’ is closed to new replies.