-
-
Save maurisrx/df7c38e325913ae29306 to your computer and use it in GitHub Desktop.
2nd snippet in post "How to Check Whether Other WordPress Plugin is Active or Not"
This file contains 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
function prfx_admin_notice() { | |
ob_start(); | |
?> | |
<div class="error"> | |
<p><?php _e( 'Easy Digital Downloads plugin is required to activate EDD sales number extension plugin. Please install and activate it first.' ); ?></p> | |
</div> | |
<?php | |
echo ob_get_clean(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment