Skip to content

Commit

Permalink
Update filter since version
Browse files Browse the repository at this point in the history
  • Loading branch information
tjcafferkey committed Mar 20, 2024
1 parent 0127448 commit 5b68f23
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions plugins/woocommerce/src/Blocks/Utils/BlockHooksTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function register_hooked_block( $hooked_blocks, $position, $anchor_block,
* A list of pattern slugs to exclude from auto-insert (useful when
* there are patterns that have a very specific location for the block)
*
* @since $VID:$
* @since 8.4.0
*/
$pattern_exclude_list = apply_filters( 'woocommerce_hooked_blocks_pattern_exclude_list', array( 'twentytwentytwo/header-centered-logo', 'twentytwentytwo/header-stacked', 'blockbase/header-centered' ) );

Expand Down Expand Up @@ -64,7 +64,6 @@ public function register_hooked_block( $hooked_blocks, $position, $anchor_block,
* Checks if the provided context contains a the block already.
*
* @param array|\WP_Block_Template $context Where the block is embedded.
* @since $VID:$
* @return boolean
*/
protected function has_block_in_content( $context ) {
Expand All @@ -78,7 +77,6 @@ protected function has_block_in_content( $context ) {
*
* @param array|\WP_Block_Template $context Where the block is embedded.
* @param string $area The area to check against before inserting.
* @since $VID:$
* @return boolean
*/
protected function is_template_part_or_pattern( $context, $area ) {
Expand All @@ -96,7 +94,6 @@ protected function is_template_part_or_pattern( $context, $area ) {
*
* @param array|\WP_Block_Template $context Where the block is embedded.
* @param array $pattern_exclude_list List of pattern slugs to exclude.
* @since $VID:$
* @return boolean
*/
protected function pattern_is_excluded( $context, $pattern_exclude_list = array() ) {
Expand Down

0 comments on commit 5b68f23

Please sign in to comment.