Skip to content

Instantly share code, notes, and snippets.

View bamadesigner's full-sized avatar

Rachel Cherry bamadesigner

View GitHub Profile
@bamadesigner
bamadesigner / plugin.php
Created November 29, 2015 21:13 — forked from mathetos/plugin.php
Dependent Plugin Activation/Deactivation and Alert
<?php
/*
* Dependent Plugin Activation/Deactivation
*
* Sources:
* 1. https://pippinsplugins.com/checking-dependent-plugin-active/
* 2. http://10up.com/blog/2012/wordpress-plug-in-self-deactivation/
*
*/