Automattic\WooCommerce\Blocks\Domain\Services
Hydration::disable_nonce_check_callback()
Callback to disable the nonce check. While we could use __return_true, we use a custom named callback so that we can remove it later without affecting other filters.
Method of the class: Hydration{}
No Hooks.
Return
null
. Nothing (null).
Usage
$Hydration = new Hydration(); $Hydration->disable_nonce_check_callback();
Hydration::disable_nonce_check_callback() Hydration::disable nonce check callback code WC 9.2.3
public function disable_nonce_check_callback() { return true; }