Allow Subscriptions Product on BOGO and Add Product Search Field
add_filter( 'acfw_product_search_allowed_types' , 'acfw_search_add_support_for_subscription_products' ); function acfw_search_add_support_for_subscription_products( $product_types ) { $product_types[] = 'subscription'; $product_types[] = 'variable-subscription';…
Restrict Dashboard Summary Widget
Prevent specific users (by user ID) from seeing the Easy Digital Downloads Sales Summary widget.
Non-required Card State
Makes the cart state a non-required field when present
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';
Combined Date – Time Format (Do something with the Local Start Time) | Display Eventbrite Events
The combined date / time format appears in several layouts and typically looks like 12/02/2019, 10:00…
Trigger a Scheduled Export via a WordPress Action
function custom_trigger_scheduled_export_url() { $secret_key = ( isset( $_GET['secret_key'] ) ? sanitize_text_field( $_GET['secret_key'] ) : false );…
Customize Action Scheduler Retention Period
This snippet allows you to change the default 30-day storage for the Action Scheduler retention period.
Define the Mailgun Signing Key Constant
This snippet will allow you to define your Mailgun Signing Key constant inside your wp-config.php file…
font-family.css
div#om-{{id}} * { font-family: "Proxima Nova", Helvetica, "Helvetica Neue", Arial, sans-serif !important; }