Skip to content

Must Use Plugin for Wordpress to prevent activation of plugins that are disallowed using an allow list

Notifications You must be signed in to change notification settings

spicecadet/wp-plugin-allow-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

WP Plugin Allow List is a Must Use plugin for WordPress that restricts plugins to ensure that only approved plugins can be activated by content creators in WordPress. The allow list can either be hosted in the cloud for a central source of truth that will apply the same list to many instances of WordPress, or kept as a local text file. The plugin stores the allow list in a transient which expires after 24 hours.

Updating the allow list

If the allow list changes, the transient can be refreshed in the WP Plugin Allow List admin page which is accessible from the WordPress sidebar.

Installation

Download or clone the repository and move the entire folder to your MU plugins directory: https://github.com/spicecadet/wp_plugin_allow_list

Add the following line to /wp-content/mu-plugins/loader.php

require WPMU_PLUGIN_DIR . '/wp_plugin_allow_list/plugin-allow-list.php';

About

Must Use Plugin for Wordpress to prevent activation of plugins that are disallowed using an allow list

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published