return false;
} /**
* Performs an action following a plugin install.
*
* @since 2.8.0
*/
public function after() { // Check if the plugin can be overwritten and output the HTML.
if ( $this->
do_overwrite() ) { return;
} $plugin_file =
$this->upgrader->
plugin_info();
$install_actions = array
();
$from =
isset( $_GET['from'
] ) ?
wp_unslash( $_GET['from'
] ) : 'plugins';
if ( 'import' ===
$from ) { $install_actions['activate_plugin'
] =
sprintf(