This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| Plugin Name: Disable plugins, network/multisite wide, when on an AMP page | |
| Description: If the url final directory is /amp/, disables plugins that you specify | |
| Version: 0.1.1 | |
| License: GPL version 2 or any later version | |
| Author: Mark Jaquith | |
| Author URI: http://coveredwebservices.com/ | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| Plugin Name: Disable Plugin(s) on AMP page/post | |
| Plugin URI: Original http://www.damiencarbery.com | |
| Description: Disable plugin(s) on AMP pages (ex: https://site.com/post1/amp/). | |
| Author: Original Damien Carbery, forked and edited by Nick Muller | |
| Version: $Revision: $ | |
| $Id: $ | |
| */ |