WP_CONTENT_URL

The WooCommerce PDF & Print WP CONTENT URL constant.

Value (string)

get_option( 'siteurl' ) . '/'. basename (WP_CONTENT_URL) 

Usage

  1. if ( defined( 'WP_CONTENT_URL' ) ) { 
  2.  
  3. // grab the value 
  4. $value = constant( 'WP_CONTENT_URL' ); 
  5.  
  6. if ( !empty( $value ) ) { 
  7. // go forth and prosper... 
  8.  

Defined (1)

The constant is defined in the following location(s).

/main.php  
  1. define( 'WP_CONTENT_URL', get_option( 'siteurl' ) . '/'. basename (WP_CONTENT_URL) );