Make is_checkout() description more accurate (#40258)

This commit is contained in:
Barry Hughes 2023-09-19 10:49:51 -07:00 committed by GitHub
commit cdc91c8ac1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Improve documentation for the `is_checkout()` function.

View File

@ -102,7 +102,7 @@ if ( ! function_exists( 'is_cart' ) ) {
if ( ! function_exists( 'is_checkout' ) ) {
/**
* Is_checkout - Returns true when viewing the checkout page.
* Is_checkout - Returns true when viewing the checkout page, or when processing AJAX requests for updating or processing the checkout.
*
* @return bool
*/