Created
January 4, 2017 22:14
-
-
Save hellofromtonya/64f21cc6622994be96d4c2892c282f4f to your computer and use it in GitHub Desktop.
Constants for Collapsible Content 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
define( 'COLLAPSIBLE_CONTENT_PLUGIN', __FILE__ ); | |
define( 'COLLAPSIBLE_CONTENT_DIR', plugin_dir_path( __FILE__ ) ); | |
$plugin_url = plugin_dir_url( __FILE__ ); | |
if ( is_ssl() ) { | |
$plugin_url = str_replace( 'http://', 'https://', $plugin_url ); | |
} | |
define( 'COLLAPSIBLE_CONTENT_URL', $plugin_url ); | |
define( 'COLLAPSIBLE_CONTENT_TEXT_DOMAIN', 'collapsible_content' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment