Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Merge branch 'add/migrate-cart-i1-to-i2' of https://github.com/woocom…
Browse files Browse the repository at this point in the history
…merce/woocommerce-gutenberg-products-block into add/migrate-cart-i1-to-i2
  • Loading branch information
senadir committed Oct 22, 2021
2 parents ae5a5b6 + 08c1d4b commit 15cb983
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 88 deletions.
37 changes: 2 additions & 35 deletions bin/hook-docs/data/actions.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,17 +175,6 @@
"long_description_html": ""
}
},
{
"name": "woocommerce_blocks_cart_enqueue_data",
"file": "BlockTypes/MiniCart.php",
"type": "action",
"doc": {
"description": "Fires after cart block data is registered.",
"long_description": "",
"tags": [],
"long_description_html": ""
}
},
{
"name": "woocommerce_blocks_cart_enqueue_data",
"file": "BlockTypes/Cart.php",
Expand All @@ -199,7 +188,7 @@
},
{
"name": "woocommerce_blocks_cart_enqueue_data",
"file": "BlockTypes/CartI2.php",
"file": "BlockTypes/MiniCart.php",
"type": "action",
"doc": {
"description": "Fires after cart block data is registered.",
Expand Down Expand Up @@ -230,17 +219,6 @@
"long_description_html": ""
}
},
{
"name": "woocommerce_blocks_enqueue_cart_block_scripts_after",
"file": "BlockTypes/CartI2.php",
"type": "action",
"doc": {
"description": "Fires after cart block scripts are enqueued.",
"long_description": "",
"tags": [],
"long_description_html": ""
}
},
{
"name": "woocommerce_blocks_enqueue_cart_block_scripts_before",
"file": "BlockTypes/Cart.php",
Expand All @@ -252,17 +230,6 @@
"long_description_html": ""
}
},
{
"name": "woocommerce_blocks_enqueue_cart_block_scripts_before",
"file": "BlockTypes/CartI2.php",
"type": "action",
"doc": {
"description": "Fires before cart block scripts are enqueued.",
"long_description": "",
"tags": [],
"long_description_html": ""
}
},
{
"name": "woocommerce_blocks_enqueue_checkout_block_scripts_after",
"file": "BlockTypes/Checkout.php",
Expand Down Expand Up @@ -301,7 +268,7 @@
"file": "Integrations/IntegrationRegistry.php",
"type": "action",
"doc": {
"description": "Fires when and IntegrationRegistry is initialized.",
"description": "Fires when the IntegrationRegistry is initialized.",
"long_description": "Runs before integrations are initialized allowing new integration to be registered for use. This should be used as the primary hook for integrations to include their scripts, styles, and other code extending the blocks.",
"tags": [
{
Expand Down
55 changes: 2 additions & 53 deletions docs/extensibility/actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,9 @@
- [woocommerce_applied_coupon](#woocommerce_applied_coupon)
- [woocommerce_blocks_cart_enqueue_data](#woocommerce_blocks_cart_enqueue_data)
- [woocommerce_blocks_cart_enqueue_data](#woocommerce_blocks_cart_enqueue_data-1)
- [woocommerce_blocks_cart_enqueue_data](#woocommerce_blocks_cart_enqueue_data-2)
- [woocommerce_blocks_checkout_enqueue_data](#woocommerce_blocks_checkout_enqueue_data)
- [woocommerce_blocks_enqueue_cart_block_scripts_after](#woocommerce_blocks_enqueue_cart_block_scripts_after)
- [woocommerce_blocks_enqueue_cart_block_scripts_after](#woocommerce_blocks_enqueue_cart_block_scripts_after-1)
- [woocommerce_blocks_enqueue_cart_block_scripts_before](#woocommerce_blocks_enqueue_cart_block_scripts_before)
- [woocommerce_blocks_enqueue_cart_block_scripts_before](#woocommerce_blocks_enqueue_cart_block_scripts_before-1)
- [woocommerce_blocks_enqueue_checkout_block_scripts_after](#woocommerce_blocks_enqueue_checkout_block_scripts_after)
- [woocommerce_blocks_enqueue_checkout_block_scripts_before](#woocommerce_blocks_enqueue_checkout_block_scripts_before)
- [woocommerce_blocks_loaded](#woocommerce_blocks_loaded)
Expand Down Expand Up @@ -209,22 +206,6 @@ do_action( 'woocommerce_blocks_cart_enqueue_data' )
### Source


File: [BlockTypes/MiniCart.php](../src/BlockTypes/MiniCart.php)

---

## woocommerce_blocks_cart_enqueue_data


Fires after cart block data is registered.

```php
do_action( 'woocommerce_blocks_cart_enqueue_data' )
```

### Source


File: [BlockTypes/Cart.php](../src/BlockTypes/Cart.php)

---
Expand All @@ -241,7 +222,7 @@ do_action( 'woocommerce_blocks_cart_enqueue_data' )
### Source


File: [BlockTypes/CartI2.php](../src/BlockTypes/CartI2.php)
File: [BlockTypes/MiniCart.php](../src/BlockTypes/MiniCart.php)

---

Expand Down Expand Up @@ -277,22 +258,6 @@ File: [BlockTypes/Cart.php](../src/BlockTypes/Cart.php)

---

## woocommerce_blocks_enqueue_cart_block_scripts_after


Fires after cart block scripts are enqueued.

```php
do_action( 'woocommerce_blocks_enqueue_cart_block_scripts_after' )
```

### Source


File: [BlockTypes/CartI2.php](../src/BlockTypes/CartI2.php)

---

## woocommerce_blocks_enqueue_cart_block_scripts_before


Expand All @@ -309,22 +274,6 @@ File: [BlockTypes/Cart.php](../src/BlockTypes/Cart.php)

---

## woocommerce_blocks_enqueue_cart_block_scripts_before


Fires before cart block scripts are enqueued.

```php
do_action( 'woocommerce_blocks_enqueue_cart_block_scripts_before' )
```

### Source


File: [BlockTypes/CartI2.php](../src/BlockTypes/CartI2.php)

---

## woocommerce_blocks_enqueue_checkout_block_scripts_after


Expand Down Expand Up @@ -380,7 +329,7 @@ File: [Domain/Bootstrap.php](../src/Domain/Bootstrap.php)
## woocommerce_blocks_{$this->registry_identifier}_registration


Fires when and IntegrationRegistry is initialized.
Fires when the IntegrationRegistry is initialized.

```php
do_action( 'woocommerce_blocks_{$this->registry_identifier}_registration', \Automattic\WooCommerce\Blocks\Integrations\IntegrationRegistry $this )
Expand Down

0 comments on commit 15cb983

Please sign in to comment.