Disable Unused Auto-Generated Image Sizes
* Disable Unused Auto-Generated Image Sizes * Optimized for AWS Storage savings & Performance.
Register New Users as Customers
Register New Users as Customers
Remove the coupon section for orders that did not use any coupon.
add_action( 'woocommerce_email_before_order_table', 'conditionally_remove_coupon_section_from_email', 5, 4 ); function conditionally_remove_coupon_section_from_email( $order, $sent_to_admin, $plain_text, $email ) { if (…
Modify User Verification URL Expiration
Changes the length of time before user verification email links expire
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…
AffiliateWP -- Searchable Checkout Referrals Dropdown WPCode Description
Applies Select2 to the affiliate selector dropdown at checkout to make it searchable. Handles WooCommerce classic…
Add vat over the commission
This will add VAT value over the commission
Add Vendor Ratings / Feedback to Product Page
add_action('woocommerce_before_add_to_cart_form','vendor_feedback_product_page'); function vendor_feedback_product_page() { $vendor_id = get_the_author_meta('ID'); $vendor_shop = urldecode( get_query_var( 'vendor_shop' ) ); if (…
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'…
Untitled Snippet
@ini_set( 'upload_max_size' , '120M' ); @ini_set( 'post_max_size', '120M'); @ini_set( 'max_execution_time', '300' );
Require Downloadable fields - Downloadable product template
Require Downloadable fields - Downloadable product template
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']