Network Activation
On a WordPress Multisite installation you can activate PNFPB network-wide from Network Admin → Plugins. On activation the plugin iterates through every site (blog) and creates its four tables for each one.
// WordPress calls register_activation_hook with $network_wide = true
// PNFPB internally calls:
foreach ( $blog_ids as $blog_id ) {
switch_to_blog( $blog_id );
PNFPB_create_tables_for_pushnotification();
restore_current_blog();
}
New Site Creation
The wpmu_new_blog action triggers PNFPB_on_create_blog(), which automatically creates the plugin’s tables for the new site if PNFPB is network-active.
Site Deletion
When a site is deleted WordPress calls the wpmu_drop_tables filter. PNFPB hooks this to add its custom tables to the list of tables to be dropped.
Per-Site Configuration
Each site in the network has its own push notification settings (Firebase credentials, provider selection, notification type toggles, etc.). There is no network-level settings screen; administrators of individual sites configure PNFPB independently.
Network Admin Bar
PNFPB adds an item to the WordPress admin bar (admin_bar_menu) for quick access to settings. On multisite this appears on each site’s admin toolbar.