pfeifferNet

pMaintenance.php

Site maintenance plugin.

Activate this plugin to show an "under maintenance" page to visitors whilst working on the site.

Tags
since
1.0.0
since
5.9.0

Provided plugin info function rather than global constants.

since
5.13.0

Use namespaced constant to store plugin data values.

copyright

2024 Keith Pfeiffer

wordpress-plugin

Plugin Name: pfeifferNet Maintenance Description: Show a maintenance page to visitors. Allow login for administrators only. Version: 6.8.0 Author URI: https://pfeiffer.net.au/keith/ Author: Keith Pfeiffer License URI: https://www.gnu.org/licenses/gpl-3.0 License: GNU General Public License v3 or later Plugin URI: https://krpfeiffer.github.io/pMaintenance Requires at least: 7.0 Requires PHP: 8.3 Tested up to: 7.0 Text Domain: pmnt Update URI: https://api.github.com/repos/krpfeiffer/pMaintenance/releases/latest

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Table of Contents

Functions

show_maintenance_page()  : void
Show a maintenance page to users who are not logged in.
activate()  : void
Activate plugin.
deactivate()  : void
Deactivate plugin.

Functions

show_maintenance_page()

Show a maintenance page to users who are not logged in.

show_maintenance_page() : void
Tags
since
1.0.0

activate()

Activate plugin.

activate() : void
Tags
since
1.0.0
since
5.10.0

Added user capability check.

deactivate()

Deactivate plugin.

deactivate() : void
Tags
since
1.0.0
since
5.10.0

Added user capability check.


        
On this page

Search results