Wymień domyślne wyszukiwanie WP i rozwijane symbol zastępczy

/**
*Replace WP/Woocommerce deafult search and dropdown placeholder text
*/
function wpforo_search_form( $html ) {

    $html = str_replace( 'placeholder="Search ', 'placeholder="Search All Tyres ', $html );

    return $html;
}
add_filter( 'get_search_form', 'wpforo_search_form' );

add_filter( 'wp_dropdown_cats', function( $html, $args ) {
    if ( $args['taxonomy'] == 'product_cat' ) {
        $html = str_replace( '<select', '<select data-placeholder="Choose Application"', $html );
    }
    return $html;

}, 10, 2);
Bongani