MemberPress: Send Tax (e.g. VAT) to Stripe

This code snippet will send the user’s VAT/TAX number to Stripe when that user registers for…

MemberPress: Shortcode To Display Manage Sub-Accounts Link

The code snippet registers a new shortcode: [mepr-subaccount-link]. Adding this shortcode will display the manage sub-accounts…

Send Donation Notification For Pending Offline Donations

Sends a notification to admin if the donation is pending AND it was made in offline…

Change Currency Format By Locale

This snippet below shows how to change the currency format for each language.

Display Vendor-Submitted data as Restricted Content.

Automatically output content submitted by FES Vendors wrapped in the [edd_restrict] shortcode.

Untitled Snippet

Connect to site google

Code for Call Tracking

In order to track click to calls.

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 Password Reset

For smaller sites where password resets can be managed manually, disabling automatic user password reset adds…

Remove Plugin Description

Reduce vertical scroll on the plugin page of admin dashboard.

Search Exclude Page

Search exclude all pages from search results without altering SEO.

Untitled Snippet

@ini_set( 'upload_max_size' , '120M' ); @ini_set( 'post_max_size', '120M'); @ini_set( 'max_execution_time', '300' );

1 … 86 87 88 89 90 … 244