Codex Neve
  • Developer Documentation
  • Visual Guide

Codex Neve

Search the Code Reference for more information about Neve's hooks.

Skip to content
Filter by type:
Search
Browse: Home / Classes / Cart_Notices / Cart_Notices::cart_notices_allowed_block_types()

Cart_Notices::cart_notices_allowed_block_types( array $allowed_block_types,  $post )

Limit the allowed blocks in this post type just to cart notice block.


Parameters

$allowed_block_types

(Required) Allowed block types.

(Required) | WP_Block_Editor_Context $post Current post data.


Return

(string[])


Source

File: includes/modules/woocommerce_booster/cart_notices/cart_notices.php


			

Expand full source code Collapse full source code View on Github

© Vertigo Studio SRL 2025