Created
December 22, 2014 01:45
-
-
Save giiska/ea877a0cc8b24a79cf07 to your computer and use it in GitHub Desktop.
WP_CONTENT_URL WP_CONTENT_DIR defines
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
<?php | |
// Pre-2.6 compatibility | |
if( !defined('WP_CONTENT_URL') ) | |
define( 'WP_CONTENT_URL', get_option('siteurl') . '/wp-content'); | |
if( !defined('WP_CONTENT_DIR') ) | |
define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment