MemberPress: Add Description for Order Bumps Memberships
The code snippet is designed to manually add a custom paragraph as a description for each…
Google tag
Código do Google Tag Manager
modify woocommerce countries list
modifies Woocommerce built in country names to Armenian Regions disabling the rest
MemberPress: Restrict Signups for US-Based Users
This code snippet will restrict signups for US-based Users on MemberPress registration pages. Additionally, it ensures…
MemberPress: Enabling Payment Receipt Email for Free Recurring Subscriptions
By default, MemberPress doesn’t send the payment receipt email for free recurring membership registrations. This code…
Amit choudhary blogs
Blogger
Disable Automatic Updates Emails (copy)
Stop getting emails about automatic updates on your WordPress site.
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 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'…
Disable Gutenberg Editor (use Classic Editor)
add_filter('gutenberg_can_edit_post', '__return_false', 5); add_filter('use_block_editor_for_post', '__return_false', 5);
Set the ranges for Calendar View | Display Eventbrite Events
The following code snippet filters the valid ranges for the next/prev keys of the calendar views…
WordPress Content Filter: Removing Tags for Enhanced Display Control
The purpose of this code snippet is to filter out tags and their contents from the…