Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter moikirsch

    (@moikirsch)

    Doing somo follow up… I did this and it seems to work.

    Am I missing something else?

    if( class_exists('WPGeo') && !is_admin() ){
    	remove_action( 'wp_enqueue_scripts', array( $wpgeo, 'enqueue_scripts' ) );
    	remove_action( 'wp_head', array( $wpgeo, 'meta_tags' ) );
    	remove_action( 'wp_head', array( $wpgeo, 'wp_head' ) );
    	remove_action( 'wp_footer', array( $wpgeo, 'wp_footer' ) );
    }
    Plugin Author Ben Huson

    (@husobj)

    That should catch most stuff I think.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Only backend (don't load JS in front end)’ is closed to new replies.