Front end scripts not loaded
-
Hi,
Thank you so much for this very useful plugin.
I have created additional WooCommerce my-account endpoint page, to display the shortcode, however in this case plugin’s front-end css and scripts do not loaded.
As I discovered the problem is in this condition:
apply_filters( ‘wp_delete_user_accounts_load_assets_on_frontend’, ( is_object( $post ) && has_shortcode( $post->post_content, ‘wp_delete_user_accounts’ ) ) )
So I had to replace it with the following:
!is_admin() && is_account_page()
Would be great if you could somehow fix this, to allow use the shortcode anywhere.
Thank you.
- The topic ‘Front end scripts not loaded’ is closed to new replies.