Created
March 19, 2020 04:43
-
-
Save pejantantangguh/49696e7737f78a5c3fb639d9fb06ddc9 to your computer and use it in GitHub Desktop.
Update action woocommerce
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
// How to change woocommece product title | |
remove_action('woocommerce_shop_loop_item_title','woocommerce_template_loop_product_title'); | |
function update_inv_art_title(){ | |
echo '<h3 class="h6 text-uppercase mb-1">' . get_the_title() . '</h3>'; | |
} | |
add_action('invictus_art_loop_item_title', 'update_inv_art_title'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment