Skip to content

Instantly share code, notes, and snippets.

@pejantantangguh
Created March 19, 2020 04:43
Show Gist options
  • Save pejantantangguh/49696e7737f78a5c3fb639d9fb06ddc9 to your computer and use it in GitHub Desktop.
Save pejantantangguh/49696e7737f78a5c3fb639d9fb06ddc9 to your computer and use it in GitHub Desktop.
Update action woocommerce
// 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