Custom Countries
Illustrates how to add a custom list of countries
Generate a virtual coupon when order is completed.
This snippet will generate a new virtual coupon for a coupon that you've enabled virtual coupon…
Download Archive Menu Item
Displays the download archive link in the "View All" tab of the "Pages" menu items meta…
Disable Renewal Notice for Specific Products
Disables renewal notices for specific products
Change label of CSV header, and removing others(Export Totals to CSV)
This snippet will change the label of CSV header, and remove the others(Export Totals to CSV)
Remove Post Title from Yoast Breadcrumb
/* Remove Post Title from Yoast Breadcrumb */ add_filter('wpseo_breadcrumb_single_link', 'remove_breadcrumb_title' ); function remove_breadcrumb_title( $link_output) { if(strpos(…
Add Custom Settings Tab to Vendor Dashboard
// Add the tab to the tab nav add_filter( 'wcv_store_tabs', 'add_custom_tab_nav' ); function add_custom_tab_nav( $tabs ){…
Hide “Everywhere Else” on the countries dropdown
if ( ! function_exists( 'wcv_hide_everywhere_else' ) ) { /** * Hide the "Everywhere else" option in…
Allow Templatera Templates to be used for Dynamic Templates
In Total 5.9 with the introduction of the built in Dynamic Template post type we removed…
After Checkout Event in EDD
This snippet would stop sending cart abandonment campaigns to your push subscribers as the purchase goal…
Class Clashes | Display Eventbrite Events
We have discovered conflicts between certain themes and classes, such as the .free class conflicting with…
Remove Unwanted Events | Display Eventbrite Events
Sometimes it is simplest to resort to code if you want to remove something from the…
Cores especificas para cada status do posts/pages
/*----------------------------------------------- Distinto color segun estado de entrada -----------------------------------------------*/ function posts_status_color() { ?>
Add a single Order export field with all Shipping address details
function custom_woo_ce_extend_order_fields( $fields ) { $fields[] = array( 'name' => 'shipping_address_full', 'label' => 'Shipping: All details',…
Lowercase Filenames for Uploads
Make all the filenames of new uploads to lowercase after you enable this snippet.