Last active
August 29, 2015 14:21
-
-
Save psaikali/d560ffdd1f500b5a20e3 to your computer and use it in GitHub Desktop.
On enregistre un nouvel onglet ...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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