add_filter( ‘acfw_product_search_allowed_types’ , ‘support_booking_product_type_in_search’ ); function support_booking_product_type_in_search( $allowed_types ) { $allowed_types[] = ‘booking’; $allowed_types[] = ‘bundle’; $allowed_types[] = ‘composite’; return $allowed_types; }Continue reading
add_filter(‘acfwp_allowed_customers_error_message’,’Change_Text’); function Change_Text(){ return __( ‘Hey! You did not meet the requirements, reach out to us!.’); }Continue reading
// define the woocommerce_after_cart callback function action_woocommerce_after_cart() { error_log(print_r(WC()->cart->get_cart_contents(), true)); }; // add the action add_action( ‘woocommerce_after_cart’, ‘action_woocommerce_after_cart’, 10, 1 );Continue reading
Total Customer Spend On A Certain CategoryContinue reading