Disable API on mobile theme if disabled