WP_UNINSTALL_PLUGIN

The WordPress Core WP UNINSTALL PLUGIN constant.

Value (unknown)

$file 

Usage

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

Defined (1)

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

/wp-admin/includes/plugin.php  
  1. define('WP_UNINSTALL_PLUGIN', $file);