WPForms: add several new smart tags for newly submitted CPT: ID, title and URL.
Mainly useful when the Post Submissions addon is used. Several new smart tags are registered to…
ACF option field shortcode
function acf_option_field_shortcode( $atts ) { // Definimos los atributos por defecto (solo necesitamos 'field') $atts =…
Roles.php
Create and Assign Customer Roles
bypass SSL certificate
bypass ssl - getting errors - fixes that
Replace Menu Icon
Replace the standard menu icon in Easy Digital Downloads with an icon from Dashicons
TICKET NUMBER
/** * Increment total entry number on each submission * * @link https://wpforms.com/developers/how-to-increment-a-count-on-each-form-submission */ function wpf_dev_update_total_field(…
Force Minimum Password Length at Checkout
Force a minimum password length when a customer creates an account at checkout
Guard Pay Diagnostic Tool
/** * ============================================================ * GUARDEDPAY PRO — Phase 1 Diagnostic (TEMPORARY) * ============================================================ * * PURPOSE:…
Reverse variable pricing
Great for when you've added variable prices lowest to highest but want to show highest to…
Tiered Affiliate Rates -- Per-Group Tier Structures
Applies group-specific tiered commission rates. Each affiliate group can have its own set of tier thresholds…
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(…
WWPP & WPML: bulk sync wholesale prices to translated products
Please review the following before using this solution: 1. This is a custom snippet provided as-is,…
ACFW - Fraud prevention on one-time coupons
add_action( 'woocommerce_checkout_process', function() { $coupon_code = 'your_coupon_code'; $billing_phone = wc_clean( wp_unslash( $_POST['billing_phone'] ?? '' ) );…
Add CSS classes to apply for vendor label
/** * Add CSS class to apply for vendor label in a registration * * @param…