original_string: public function upgrader_process_complete( $wp_upgrader, $options ) {
  
  		if ( empty( $options['plugins'] ) ) {
  			return;
  		}
  
  		if ( ! is_array( $options['plugins'] ) ) {
  			return;
  		}
  
  		if ( 'update' === $options['action'] && 'plugin' === $options['type'] ) {
  			$plugin_path = plugin_basename( CPTP_PLUGIN_FILE );
  			if ( in_array( $plugin_path, $options['plugins'], true ) ) {
  				// for update code.
  				add_option( 'no_taxonomy_structure', false );
  			}
  		}
  	}
code: public function upgrader_process_complete( $wp_upgrader, $options ) {
  
  		if ( empty( $options['plugins'] ) ) {
  			return;
  		}
  
  		if ( ! is_array( $options['plugins'] ) ) {
  			return;
  		}
  
  		if ( 'update' === $options['action'] && 'plugin' === $options['type'] ) {
  			$plugin_path = plugin_basename( CPTP_PLUGIN_FILE );
  			if ( in_array( $plugin_path, $options['plugins'], true ) ) {
  				// for update code.
  				add_option( 'no_taxonomy_structure', false );
  			}
  		}
  	}
code_tokens: public function upgrader_process_complete ( $ wp_upgrader , $ options ) { if ( empty ( $ options [ 'plugins' ] ) ) { return ; } if ( ! is_array ( $ options [ 'plugins' ] ) ) { return ; } if ( 'update' === $ options [ 'action' ] && 'plugin' === $ options [ 'type' ] ) { $ plugin_path = plugin_basename ( CPTP_PLUGIN_FILE ) ; if ( in_array ( $ plugin_path , $ options [ 'plugins' ] , true ) ) { // for update code. add_option ( 'no_taxonomy_structure' , false ) ; } } }
docstring: After update complete.
  
  @since 3.0.0
  
  @param object $wp_upgrader WP_Upgrader instance.
  @param array  $options Extra information about performed upgrade.
docstring_tokens: After update complete .