Filters

wpbf_mobile_menu_text

This filter lets you replace the button text for the “Default” mobile menu.

function wpbf_custom_mobile_menu_text() {
	return 'My Menu';
}
add_filter( 'wpbf_mobile_menu_text', 'wpbf_custom_mobile_menu_text' );

wpbf_404_headline

This filter lets you change the headline for the 404 pages

function wpbf_custom_404_headline() {
	return 'Nothing to see here!';
}
add_filter( 'wpbf_404_headline', 'wpbf_custom_404_headline' );

wpbf_404_text

This filter lets you change the text for the 404 pages

function wpbf_custom_404_text() {
	return 'Oops, something went wrong!';
}
add_filter( 'wpbf_404_text', 'wpbf_custom_404_text );

wpbf_logo

This filter lets you change the main menu logo. In this example, we’re changing the logo on our website only for on a specific page.

function wpbf_custom_logo( $custom_logo_url ) {
	if( is_page('193') ) {
		$custom_logo_url = 'https://ourwebsite.com/custom-logo.jpg';
	}
	return $custom_logo_url;
}
add_filter( 'wpbf_logo', 'wpbf_custom_logo' );

wpbf_logo_mobile

This filter lets you change the mobile menu logo. In this example, we’re changing the logo on our website only for on a specific page, just as for the main menu logo above.

function wpbf_custom_mobile_logo( $custom_logo_url ) {
	if( is_page('193') ) {
		$custom_logo_url = 'https://ourwebsite.com/custom-logo.jpg';
	}
	return $custom_logo_url;
}
add_filter( 'wpbf_logo_mobile', 'wpbf_custom_mobile_logo' );

wpbf_search_placeholder

This filter lets you change the placeholder text for the searchform.

function wpbf_custom_search_form_placeholder() {
	return 'Search';
}
add_filter( 'wpbf_search_placeholder', 'wpbf_custom_search_form_placeholder' );

wpbf_search_title

This filter lets you change the title text for the searchform.

function wpbf_custom_search_form_title() {
	return 'Hit enter to search';
}
add_filter( 'wpbf_search_title', 'wpbf_custom_search_form_title' );