Last active
August 29, 2015 14:03
-
-
Save hykw/85860e7e9b5bfdd113d6 to your computer and use it in GitHub Desktop.
wordpress: 相対パスでのwp-load.phpの読み込み方
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
$wpload = sprintf('%s/wp-load.php', $_SERVER['DOCUMENT_ROOT']); | |
require_once($wpload); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment