# How to lookup if a plugin is NOT installed?

**URL:** <https://community.mainwp.com/t/how-to-lookup-if-a-plugin-is-not-installed/7476>\
**Category:** How do I\
**Created:** [August 8, 2023, 1:02pm UTC](https://community.mainwp.com/t/how-to-lookup-if-a-plugin-is-not-installed/7476 "2023-08-08T13:02:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhoekman](https://community.mainwp.com/user_avatar/community.mainwp.com/rhoekman/32/1184_2.png) [@rhoekman](https://community.mainwp.com/u/rhoekman)\
**Post date:** [August 8, 2023, 1:02pm UTC](https://community.mainwp.com/t/how-to-lookup-if-a-plugin-is-not-installed/7476/1 "2023-08-08T13:02:19Z")

</div>

I’m re-opening this topic because it’s kind of kind of ridiculus how we have to lookup a plugin that’s not installed. Please fix this!!

[https://newcom.mainwp.com/t/find-sites-where-a-plugin-is-not-installed/6452](https://newcom.mainwp.com/t/find-sites-where-a-plugin-is-not-installed/6452)

---

<div class="post-metadata">

**Author:** ![josklever](https://community.mainwp.com/user_avatar/community.mainwp.com/josklever/32/54_2.png) [@josklever](https://community.mainwp.com/u/josklever)\
**Post date:** [August 8, 2023, 1:49pm UTC](https://community.mainwp.com/t/how-to-lookup-if-a-plugin-is-not-installed/7476/2 "2023-08-08T13:49:46Z")

</div>

I agree that the current workaround is not very useful. It should be possible to list all sites (not all plugins on sites) that don’t have a plugin active.

If you have the Code Snippets extension, this snippets would be another workaround (with Wordfence as an example):

```auto
$plugin_array = get_option("active_plugins");
if (!in_array("wordfence/wordfence.php", $plugin_array)) {
	echo "Wordfence is not active on this website";
}

```

---

<div class="post-metadata">

**Author:** ![rhoekman](https://community.mainwp.com/user_avatar/community.mainwp.com/rhoekman/32/1184_2.png) [@rhoekman](https://community.mainwp.com/u/rhoekman)\
**Post date:** [August 9, 2023, 12:08pm UTC](https://community.mainwp.com/t/how-to-lookup-if-a-plugin-is-not-installed/7476/3 "2023-08-09T12:08:18Z")

</div>

Thanks Jos!

I’ll use the code snippet for now 🙂

---

<div class="post-metadata">

**Author:** ![bojan](https://community.mainwp.com/user_avatar/community.mainwp.com/bojan/32/3059_2.png) [@bojan](https://community.mainwp.com/u/bojan)\
**Post date:** [August 9, 2023, 2:23pm UTC](https://community.mainwp.com/t/how-to-lookup-if-a-plugin-is-not-installed/7476/4 "2023-08-09T14:23:13Z")

</div>

Thanks for bringing this to our attention.

In the next version of the Dashboard, we will be adding a new Per Site view to the Manage Plugins and Manage Themes page.

So after performing a Negative Search, you will be able to see all sites that do not have that particular plugin or theme installed, and you will able to expand those sites to see which plugins are installed and perform additional actions.

---

<div class="post-metadata">

**Author:** ![dennis](https://community.mainwp.com/user_avatar/community.mainwp.com/dennis/32/2190_2.png) [@dennis](https://community.mainwp.com/u/dennis)\
**Post date:** [August 9, 2023, 2:58pm UTC](https://community.mainwp.com/t/how-to-lookup-if-a-plugin-is-not-installed/7476/5 "2023-08-09T14:58:52Z")

</div>

@josklever @rhoekman the update should be available in Friday’s beta release ([https://beta.mainwp.com/](https://beta.mainwp.com/) ) as long as everything goes as planned.

---

<div class="post-metadata">

**Author:** ![rhoekman](https://community.mainwp.com/user_avatar/community.mainwp.com/rhoekman/32/1184_2.png) [@rhoekman](https://community.mainwp.com/u/rhoekman)\
**Post date:** [August 9, 2023, 2:59pm UTC](https://community.mainwp.com/t/how-to-lookup-if-a-plugin-is-not-installed/7476/6 "2023-08-09T14:59:19Z")

</div>

Thanks Bojan and Dennis! 😃 That’s awesome, really looking forward to this update!👍🏻

Cheers!

---

<div class="post-metadata">

**Author:** ![system](https://community.mainwp.com/uploads/default/original/2X/4/4cfc87ac67e4ebdbfa0bbf0b19c8657f35a29a5b.png) [@system](https://community.mainwp.com/u/system)\
**Post date:** [August 12, 2023, 8:06pm UTC](https://community.mainwp.com/t/how-to-lookup-if-a-plugin-is-not-installed/7476/7 "2023-08-12T20:06:39Z")

</div>

Closed on August 12, 2023, 8:06pm UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
