Skip to content

Instantly share code, notes, and snippets.

@psaikali psaikali/functions.php
Last active Aug 29, 2015

Embed
What would you like to do?
On enregistre un nouvel onglet ...
function msk_add_love_product_tab($tabs) {
$tabs['love_tab'] = array(
'title' => __('Popularity', 'msk'),
'priority' => 15,
'callback' => 'msk_add_love_product_tab_content'
);
return $tabs;
}
add_filter('woocommerce_product_tabs', 'msk_add_love_product_tab');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.