Automattic\WooCommerce\Internal\DataStores\Orders

CustomOrdersTableController::handle_feature_enabled_changed()publicWC 1.0

Метод класса: CustomOrdersTableController{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$CustomOrdersTableController = new CustomOrdersTableController();
$CustomOrdersTableController->;

Код CustomOrdersTableController::handle_feature_enabled_changed() WC 8.7.0

}

if ( ! wp_verify_nonce( sanitize_text_field( wp_unslash( $_GET['_wpnonce'] ?? '' ) ), 'hpos-sync-now' ) ) {
	WC_Admin_Settings::add_error( esc_html__( 'Unable to start synchronization. The link you followed may have expired.', 'woocommerce' ) );
	return;
}

$this->data_cleanup->toggle_flag( false );
$this->batch_processing_controller->enqueue_processor( DataSynchronizer::class );
	}

	/**