Home / Admin / WC Vendors Marketplace vendor’s list – Change Search for a vendor
Duplicate Snippet

Embed Snippet on Your Site

WC Vendors Marketplace vendor’s list – Change Search for a vendor

Change Search for a vendor - WC Vendors Marketplace

Code Preview
php
<?php
add_filter('gettext_wc-vendors', 'wcv_change_vendor_search_placeholder', 10, 3);
function wcv_change_vendor_search_placeholder( $translation, $text, $domain )
{
    if ($text === 'Search for a vendor' ) {
        $translation = 'New text search for vendor'; // Change this text here.
    }
    
    return $translation;
}

Comments

Add a Comment