Keep users logged in for 1 month on Staq
function stq_change_auth_cookie_expiration_period( $expiration_period ) { $expiration_period = MONTH_IN_SECONDS; // 1 month return $expiration_period; } add_filter( 'auth_cookie_expiration',…
WPForms: swap price and option value for payment fields
This snippet makes the option label "$40.00 - Second Choice" instead of "Second Choice - $40.00"…
Fully Disable Comments & Trackbacks (The "Nuclear" Option)
* Fully Disable Comments & Trackbacks (The "Nuclear" Option) * Optimized for performance and UI clarity.
Shop Manager - Reseller Admin.js
Creates a reseller admin role that has more customisation options than a normal user
AffiliateWP Network Stats Shortcode
Adds an [affwp_network_stats] shortcode with type and status attributes to display individual network metrics for JetEngine…
Change label of CSV header, and removing others(Export Totals to CSV)
This snippet will change the label of CSV header, and remove the others(Export Totals to CSV)
Add Custom Taxonomy - Single Vendor Taxonomy
It'll only allow the vendor to select one custom taxonomy term at a time
How to change the store address country for all vendors
/** * Set the vendor's store country to us. */ function wcv_set_vendor_country() { if ( function_exists(…
Allow "Mark received" for Digital Product
add_filter( 'wcvendors_pro_mark_order_received_status', '__return_false' );
MemberPress: Dynamic Trail Periods
Sets up a dynamic trial period so that all users renew on the same date. In…