Download Archive Purchase Buttons
Output purchase button below the full content on download archive pages.
Auto Generate Virtual Coupon After a Customer Completed an Order
/** * Generate a virtual coupon when order is completed. * * @param int $order_id Order…
Remove "mail.readwrite" Scope for the Outlook Mailer (copy)
This snippet removes the `mail.readwrite` scope from the WP Mail SMTP plugin Outlook provider.
BOGO Coupons to refer to original subtotal
When a BOGO coupon has a minimum spend (Usage Restriction) configured, applying the coupon can incorrectly…
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…
Protect Admin User
A simple safeguard to protect site owner or developer account from deletion. A least resource exhaustive…
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;…
[ Cimworks logo ] +91 XXXXX XXXXX
[ Cimworks logo ] +91 XXXXX XXXXX Authorized IPR Distributor · India Damage-free battery grippers for…
Sort User ID
Make the User ID column sortable in the WordPress admin users table. First register the column,…
Advanced Search Filter
*Advanced Concept, Require Setup* Extends default search to filter based on predetermined category. Require advanced search…