Network Only Plugin

There is a lesser known piece of information that can be defined in the plugin header that tells WordPress to only show the plugin on the WordPress Multisite Network Plugins page. This will hide Pressbooks plugin from being displayed and activated at the site level in WordPress Multisite. To only allow Pressbooks to show at the Network Plugins level.

adding this one line to Pressbooks header code:

Network: true

Network Only Plugin Header:
Plugin Name: Pressbooks
Plugin URI:
Description: Simple Book Production
Author: Book Oven Inc.
Author URI:
Text Domain: pressbooks
License: GPLv2
GitHub Plugin URI:
Release Asset: true
Network: True


We will avoid to the new users the posibility of activation in just one site of the installation.

1 Like

Hi @colomet—this looks great. Can you submit a pull request?

@brad This would be handy for Pressbooks mPDF too…

1 Like

Ok. i will do tomorrow.