Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* visit us - https://wpgenie.org */
- /*
- workaround for messed up forms for Dokan product addon module and our integrations
- in /wp-content/plugins/dokan-pro/modules/product-addon/module.php add following: */
- // this allready exist
- if ( isset( $wp->query_vars['auction'] ) ) {
- $this->enqueue_scripts();
- }
- // to add:
- if ( isset( $wp->query_vars['lottery'] ) ) {
- $this->enqueue_scripts();
- }
- if ( isset( $wp->query_vars['groupbuy'] ) ) {
- $this->enqueue_scripts();
- }
Advertisement
Add Comment
Please, Sign In to add comment