Created
January 22, 2015 11:09
-
-
Save ahmadawais/e5adafac31259f811fd7 to your computer and use it in GitHub Desktop.
Require a PHP file in WordPress plugin.
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
/** | |
* | |
* Require a PHP file in WordPress | |
* | |
*/ | |
if (file_exists(dirname(__FILE__).'/admin/aa_scripts.php')) { | |
require_once( dirname(__FILE__).'/admin/aa_scripts.php' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment