• Resolved Josh

    (@josh-stopper)


    Hi Support

    Thanks for the plugin, it makes life much simpler than having to write this code manually.

    At the moment I am running a little bit of PHP in the theme to dequeue the admin javascript (nolg-backend) and css (nolg-admin) which is quite heavy and not needed on the fronted.

    If you could update your plugin to wrap the wp_enqueue_script and wp_enqueue_style in an is_admin() or https://developer.ww.wp.xz.cn/reference/hooks/admin_enqueue_scripts/ or similar, that would be great.

    Josh

Viewing 1 replies (of 1 total)
  • Plugin Author threadi

    (@threadi)

    Thank you for your compliments and your hint. I’ll take a look at it over the next few weeks (after my vacation) and get back to you.

Viewing 1 replies (of 1 total)

The topic ‘Prevent admin scripts from loading on frontend’ is closed to new replies.