---
updatedAt: 2025-05-29T19:58:50.000Z
agentTools:
  projectIndex: https://docs.sequra.com/llms.txt
---

# before_woocommerce_sequra_add_widget_to_page

`Hook` `Action`

Fires before the seQura widget is added to the page to prevent multiple executions.

## Description

This action allows to execute some code just before the widget shortcode is added to product page.

## Changelog

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

## Usage Example

```php
add_action('before_woocommerce_sequra_add_widget_to_page', function(){
 // Add your custom code here
});
```