This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Cart_Notices::get_post_type( $data )
Get the post type based on current data.
Parameters
-
(Required) | WP_Block_Editor_Context $data Current post data.
Return
(string) | false
Source
File: includes/modules/woocommerce_booster/cart_notices/cart_notices.php
Expand full source code Collapse full source code View on Github