Quantcast
Channel: Topic Tag: plugin | WordPress.org
Viewing all articles
Browse latest Browse all 26892

Jesse Friedman on "[Plugin: WP Mobile Detect] Function to deactivate plugins on devices"

$
0
0

I'd rather see you perform the functions of that plugin only if they are on the correct device.

Deactivating a plugin at this point will not solve your problem, nor do I think it is possible.

Lets say your AudioBar plugin has a function called wp_audiobar() you could do

if( ! wmpd_is_device() ) {
wp_audiobar();
}


Viewing all articles
Browse latest Browse all 26892

Trending Articles