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…

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(…

Change Method Label

add_filter( 'woocommerce_cart_shipping_method_full_label', 'wcv_override_vendor_shipping_label', 10, 2 ); function wcv_override_vendor_shipping_label( $label, $method ){ $label = 'Flat-rate'; // cost;…

Override the commission calculation priority order

/** * Given the provided list of vendor_ids in the vendors array, override the commission to…

test

echo 'test';

Remove Google Fonts

add_filter( 'elementor/frontend/print_google_fonts', '__return_false' );

<10

Switching between ftp_put and ftp_fput FTP upload methods in Store Exporter Deluxe

function custom_woo_ce_cron_export_ftp_switch() { // ftp_put or ftp_fput return 'ftp_fput'; } add_filter( 'woo_ce_cron_export_ftp_switch', 'custom_woo_ce_cron_export_ftp_switch' );

<10

Allow CSS Files Upload

Allowing to upload CSS file into media folder for custom special integration such as booking search…

HTG

[wpgetapi_endpoint api_id='HomeToGo' endpoint_id='HTG' debug='false']

1 30 31 32 33 34 70