Disable FooBox on Mobile

If you need to disable FooBox only on mobile, you can add the following code snippet to your theme’s function.php:

function disable_foobox_on_mobile( $enabled ) {
  if ( wp_is_mobile() ) {
	return false;
  }
  return $enabled;
}

add_filter( 'foobox_enqueue_scripts', 'disable_foobox_on_mobile', 999 );<br>

This is not recommended as FooBox is built to work on mobile devices!

Resources

Find the right next step

Browse setup guides, get help with your site, or find licensing information.

Documentation

Search setup guides, product docs, and troubleshooting articles.

Support

Open a ticket with product details so we can help quickly.

Licensing

Review account, renewal, refund, and license information.