Last active
January 10, 2016 04:22
-
-
Save sbruner/bd657c0fbe5d15900f93 to your computer and use it in GitHub Desktop.
Piklist: Piklist Checker in plugin
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 | |
add_action('init', 'my_init_function'); | |
function my_init_function(){ | |
if(is_admin()){ | |
include_once('path-to-file/class-piklist-checker.php'); | |
if (!piklist_checker::check(__FILE__)){ | |
return; | |
} | |
} | |
} | |
?> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment