{"id":22938,"date":"2024-01-14T15:40:11","date_gmt":"2024-01-14T09:40:11","guid":{"rendered":"https:\/\/hasthemes.com\/?post_type=docs&#038;p=22938"},"modified":"2025-05-29T14:16:41","modified_gmt":"2025-05-29T08:16:41","password":"","slug":"how-to-disable-plugins-based-on-devices","status":"publish","type":"docs","link":"https:\/\/hasthemes.com\/docs\/how-to-disable-plugins-based-on-devices\/","title":{"rendered":"How to disable plugins based on devices"},"content":{"rendered":"\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\" style=\"padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)\"><div class=\"wp-block-group__inner-container\">\n<p>The updated <strong>WP Plugin Manager<\/strong> plugin interface allows you to disable plugins based on the type of device used to access your site. This helps optimize performance and user experience across platforms.<\/p>\n\n\n\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\" style=\"padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)\"><div class=\"wp-block-group__inner-container\">\n<h2 class=\"wp-block-heading\" style=\"margin-bottom:var(--wp--preset--spacing--50)\">Steps to Disable Plugin by Device:<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to the <strong>Manage Plugins<\/strong> section and click the <strong>settings icon<\/strong> (\u2699\ufe0f) beside the plugin you wish to configure.<\/li>\n\n\n\n<li>In the <strong>plugin settings modal<\/strong>, locate the <strong>\u201cDisable Plugin on\u201d<\/strong> dropdown at the top.<\/li>\n\n\n\n<li>Choose the device(s) where the plugin should be disabled. Available options include:\n<ul class=\"wp-block-list\">\n<li><strong>All Devices<\/strong><\/li>\n\n\n\n<li><strong>Desktop<\/strong><\/li>\n\n\n\n<li><strong>Tablet<\/strong><\/li>\n\n\n\n<li><strong>Mobile<\/strong><\/li>\n\n\n\n<li><strong>Desktop + Tablet<\/strong><\/li>\n\n\n\n<li><strong>Tablet + Mobile<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>After selecting the device(s), continue to configure other options (e.g., specific pages, posts, or post types).<\/li>\n\n\n\n<li>Click <strong>Save<\/strong> to apply your settings.<\/li>\n<\/ol>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\ud83d\udd27 This allows for flexible control\u2014disable unnecessary plugins only on mobile or tablet while keeping them active on desktop, or vice versa.<\/p>\n<\/blockquote>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;690ae85fa7933&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-full wp-lightbox-container\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1369\" height=\"889\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/hasthemes.com\/wp-content\/uploads\/2024\/01\/disable-plugin-on.png\" alt=\"How to disable plugins based on devices\" class=\"wp-image-30153\" srcset=\"https:\/\/hasthemes.com\/wp-content\/uploads\/2024\/01\/disable-plugin-on.png 1369w, https:\/\/hasthemes.com\/wp-content\/uploads\/2024\/01\/disable-plugin-on-300x195.png 300w, https:\/\/hasthemes.com\/wp-content\/uploads\/2024\/01\/disable-plugin-on-1024x665.png 1024w, https:\/\/hasthemes.com\/wp-content\/uploads\/2024\/01\/disable-plugin-on-768x499.png 768w, https:\/\/hasthemes.com\/wp-content\/uploads\/2024\/01\/disable-plugin-on-360x234.png 360w\" sizes=\"(max-width: 1369px) 100vw, 1369px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n<\/div><\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>The updated WP Plugin Manager plugin interface allows you to disable plugins based on the type of device used to access your site. This helps optimize performance and user experience across platforms. Steps to Disable Plugin by Device: \ud83d\udd27 This allows for flexible control\u2014disable unnecessary plugins only on mobile or tablet while keeping them active [&hellip;]<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","_mi_skip_tracking":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"doc_category":[251],"doc_tag":[],"class_list":["post-22938","docs","type-docs","status-publish","hentry","doc_category-wp-plugin-manager"],"acf":[],"year_month":"2025-11","word_count":138,"total_views":"1266","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Ashim Kumar","author_nicename":"ashim-ht","author_url":"https:\/\/hasthemes.com\/author\/ashim-ht\/"},"doc_category_info":[{"term_name":"WP Plugin Manager","term_url":"https:\/\/hasthemes.com\/docs-category\/wp-plugin-manager\/"}],"doc_tag_info":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"htmega_size_585x295":false,"htmega_size_1170x536":false,"htmega_size_396x360":false,"betterdocs-category-thumb":false},"uagb_author_info":{"display_name":"Ashim Kumar","author_link":"https:\/\/hasthemes.com\/author\/ashim-ht\/"},"uagb_comment_info":0,"uagb_excerpt":"The updated WP Plugin Manager plugin interface allows you to disable plugins based on the type of device used to access your site. This helps optimize performance and user experience across platforms. Steps to Disable Plugin by Device: \ud83d\udd27 This allows for flexible control\u2014disable unnecessary plugins only on mobile or tablet while keeping them active&hellip;","knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/docs\/22938","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/comments?post=22938"}],"version-history":[{"count":6,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/docs\/22938\/revisions"}],"predecessor-version":[{"id":30157,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/docs\/22938\/revisions\/30157"}],"wp:attachment":[{"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/media?parent=22938"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/doc_category?post=22938"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/doc_tag?post=22938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}