Handle continuation mode in blocks

This commit is contained in:
Alex P 2023-04-07 15:58:59 +03:00
parent b0a0eea752
commit 493933a1c1
No known key found for this signature in database
GPG key ID: 54487A734A204D71
6 changed files with 107 additions and 12 deletions

View file

@ -368,3 +368,14 @@ namespace Automattic\WooCommerce\Blocks\Payments {
}
}
}
/**
* Registers and validates payment requirements callbacks.
*
* @see Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema::register_payment_requirements()
*
* @param array $args Args to pass to register_payment_requirements.
* @returns boolean|\WP_Error True on success, WP_Error on fail.
*/
function woocommerce_store_api_register_payment_requirements( $args ) {
}