ACF-Conditional-Taxonomy-Rules icon indicating copy to clipboard operation
ACF-Conditional-Taxonomy-Rules copied to clipboard

Prevent load Acf files on frontend

Open sermalefico opened this issue 4 years ago • 1 comments

Now the plug load acf files ( /wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js, acf.min.js) on frontend when you are logged out. How to prevent this?, i think the load files only be necesary if you are logged in.

sermalefico avatar Aug 09 '21 19:08 sermalefico

Hi @mattkeys , I also ran into this issue. Has to do with the wp_enqueue_scripts hook that also registers the scripts on the frontend.

Levdbas avatar Mar 15 '23 10:03 Levdbas