Changes between Initial Version and Version 3 of Ticket #59424
- Timestamp:
- 09/21/2023 04:58:58 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #59424
- Property Keywords has-patch has-unit-tests added
-
Ticket #59424 – Description
initial v3 6 6 <?php 7 7 function insert_shopping_cart_hooked_block( $hooked_blocks, $position, $anchor_block, $context ) { 8 if ( 'after' === $position && 'core/navigation' &&$anchor_block && /** $context is header template part **/ ) {8 if ( 'after' === $position && 'core/navigation' === $anchor_block && /** $context is header template part **/ ) { 9 9 $hooked_blocks[] = 'mycommerce/shopping-cart'; 10 10 }