WP_SHARING_PLUGIN_DIR

The Jetpack by WordPress.com WP SHARING PLUGIN DIR constant.

Value ()

plugin_dir_path( __FILE__ ) 

Usage

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

Defined (1)

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

/modules/sharedaddy/sharing.php  
  1. define( 'WP_SHARING_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );