WOOT - WooCommerce Active Products Tables

woot_no_found_text

Ce hook permet de modifier le texte « Aucun produit trouvé (Not found) » affiché lorsqu'aucun produit n'a été trouvé dans le tableau


Exemple :

add_filter('woot_no_found_text', function($text, $table_id) {
    return sprintf(WOOT_Vocabulary::get('Find more products %s'), WOOT_HELPER::draw_html_item('a', [
                'href' => 'https://pluginus.net',
                'target' => '_blank'
                    ], WOOT_Vocabulary::get('here')));
}, 10, 2);