Download Archive Menu Item

Displays the download archive link in the "View All" tab of the "Pages" menu items meta…

Disable WordPress auto-update emails (plugins/themes/core)

// Disable auto-update emails. add_filter( 'auto_core_update_send_email', '__return_false' ); // Disable auto-update emails for plugins. add_filter( 'auto_plugin_update_send_email',…

work in progress

3d cartoon style racing game that I can import to scratch, other racers and a start…

Retroactive License Emails

Send an email with the license key to customers when retroactively generating licenses with Easy Digital…

AffiliateWP -- Searchable Checkout Referrals Dropdown WPCode Description

Applies Select2 to the affiliate selector dropdown at checkout to make it searchable. Handles WooCommerce classic…

Download Archive Purchase Buttons

Output purchase button below the full content on download archive pages.

WWPP - Restrict add-to-cart on specific products to a specific wholesale role only

How to use and configure this snippet: 1. Set your exact Role Key: In the snippet,…

Disable comments

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

<10

Auto Generate Virtual Coupon After a Customer Completed an Order

/** * Generate a virtual coupon when order is completed. * * @param int $order_id Order…

Restrict WordPress Admin Access by Country

Restrict access to wp-admin based on visitor country using Cloudflare's country header. Useful for agencies, membership…

Custom Field to Vendor Settings Page

/* WC Vendors Pro - My Custom Field */ function store_bank_details( ){ if ( class_exists( 'WCVendors_Pro'…

Remove table from dashboard

if ( ! function_exists( 'wcv_remove_recent_order_table_columns' ) ) { /** * Remove columns from Recent Orders table…

wpadmin add phone number with address in orders page

add_action( 'manage_shop_order_posts_custom_column' , 'custom_orders_list_column_content', 50, 2 ); function custom_orders_list_column_content( $column, $post_id ) { global $the_order, $post;…

Set the ranges for Calendar View | Display Eventbrite Events

The following code snippet filters the valid ranges for the next/prev keys of the calendar views…

1 137 138 139 140 141 224