Filters

Filter: wpbf_woo_loop_out_of_stock_string

This filter lets you replace the “Out of Stock” message on shop/archive pages.

Default: Out of Stock

function wpbf_woo_custom_out_of_stock_message() {
    return 'Currently Unavailable!';
}
add_filter( 'wpbf_woo_loop_out_of_stock_string', 'wpbf_woo_custom_out_of_stock_message' );

Filter: wpbf_woo_menu_item_title

This filter lets you replace the title for the WooCommerce Cart Menu Item (appears on hover).

Default: Shopping Cart

function wpbf_woo_custom_menu_item_title() {
    return 'Basket';
}
add_filter( 'wpbf_woo_menu_item_title', 'wpbf_woo_custom_menu_item_title' );

Premium Add-On

Filter: wpbf_woo_menu_item_label

This filter lets you replace the “Cart” text for the WooCommerce Cart Menu Item.

Default: Cart

function wpbf_woo_custom_menu_item_label() {
    return 'Basket';
}
add_filter( 'wpbf_woo_menu_item_label', 'wpbf_woo_custom_menu_item_label' );

Filter: wpbf_woo_menu_item_separator

This filter lets you replace the separator that appears between the total cart amount & cart icon inside the Cart Menu Item.

Default: –

function wpbf_woo_custom_menu_item_separator() {
    return '|';
}
add_filter( 'wpbf_woo_menu_item_separator', 'wpbf_woo_custom_menu_item_separator' );

Filter: wpbf_woo_quick_view_label

This filter lets you replace the “Quick View” message on shop/archive pages.

Default: Quick View

function wpbf_woo_custom_quick_view_label() {
    return 'More Details';
}
add_filter( 'wpbf_woo_quick_view_label', 'wpbf_woo_custom_quick_view_label' );

Download Today. It's 100% Free.

You have a best friend, your Page Builder probably should too.

Page Builder Framework

A modern, fast & minimalistic theme designed for the new WordPress Era.

Sign up for the Newsletter

Get notified about the latest updates and feature releases.

We take your privacy seriously! No spam, we promise. See our Privacy Policy
Community
Scroll to Top