Disallow store credits if cart has subscription product

This snippet will remove the store credit option if the cart has a subscription product

User Switching

Easily switch to a Customer when using the User Switching plugin

Disable PayPal for Multi-Item Checkout

Disables the PayPal gateway when the cart contains multiple items. PayPal disabled the ability to purchase…

Top Pagination

Adds pagination links to the top of the [downloads] short code

Change the sold by link label to vendor's name

Change the sold by link label to vendor's name

Resetting the Vendor & Pending Vendor Roles

add_filter('woocommerce_login_redirect', 'redo_roles', 10, 2); function redo_roles() { remove_role( 'pending_vendor' ); add_role( 'pending_vendor', __( 'Pending Vendor', 'wcvendors'…

Completely Disable Comments

add_action('admin_init', function () { // Redirect any user trying to access comments page global $pagenow; if…

<10

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 );…

<10

Allow JS Files Upload

Allowing to upload JS files into media folder for custom special integration such as booking search…

Headers and Footers

To track Google analytics.

Doylton Davis
<10

Untitled Snippet

Haingo Rakotomalala
<10

Hide All Admin Notices in Sidebar

Hides all admin notices in a collapsible sidebar. AI generated code. Use with caution.

1 34 35 36 37 38 70