---
updatedAt: 2025-05-15T13:34:12.000Z
agentTools:
  projectIndex: https://docs.sequra.com/llms.txt
---

# sequra_is_checkout

`Hook` `Filter`

Check if the current page is the checkout page.

## Description

Check if the current page is either the WooCommerce checkout or order pay page. This must be used when custom checkout pages exist in order to make seQura payment options work properly.

| Parameter      | Type   | Description                                                            |
| :------------- | :----- | :--------------------------------------------------------------------- |
| `$is_checkout` | `bool` | Indicates if the current page is either the checkout or order pay page |

## Changelog

| Version | Description |
| ------- | ----------- |
| 3.0.0   | Introduced  |

## Usage Example

```php
add_filter('sequra_is_checkout', function($is_checkout){
  // In case you have a custom checkout page wit ID 999
  if(999 === get_the_ID()){
    return true;
  }
  return $is_checkout;
});
```