Product Expiry For Woo

Supports the Expiry for Woocommerce plugin - WC Vendor

Escaping data with wp_kses

// ❌ Don't use html tags in escaping functions like esc_html, esc_attr and their localized equivalents…

Filter the decision to send a user confirmation | Quick Event Manager

add_filter('qem_registration_always_confirm',,,1); This filter returns a Boolean to decide if a confirm is to be sent or…

Add file to media library programmatically

wp_insert_attachment( string|array $args, string|false $file = false, int $parent_post_id, bool $wp_error = false, bool $fire_after_hooks =…

Untitled Snippet

https://github.com/dontcrash/NRD.git

Emails via two different Postmark streams based on the email subject

WP Mail SMTP plugin does not directly support selecting a specific Postmark message stream based on…

MemberPress: Extend Grace Period for Renewals

Adding this code will extend the grace period for renewals (default is 0). Change the number…

Gravity Forms Auto-populate Date

The purpose of this snippet is to calculate a date 90 days from today. That serves…

Dave Bayless
<10
1 118 119 120 121 122 219