Paid Memberships Pro with WC Vendors
// PAID MEMBERSHIPS PRO -- UPGRADE TO VENDOR, DOWNGRADE TO SUBSCRIBER /* Members signing up for…
Add custom page to the vendor dashboard
// Hook into the navigation add_filter( 'wcv_pro_dashboard_urls', 'add_test_page_nav', 9 ); function add_test_page_nav( $pages ){ $pages[ 'test_page'…
WP Simple Pay: Set a Per-Form Custom Amount Programmatically
Adjust a single payment form's custom amount value programatically.
Combine shortcodes to have more than one month in Fullworks' Event Manager
This snippet combines 3 shortcodes of qem to list the current month, next month and the…
MemberPress: Display Account Tabs Anywhere
This code registers a new shortcode: [mepr-account-links]. This shortcode can be used anywhere to display the…
Change a currency symbol AMD to Դրամ
/** * Change a currency symbol */ add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2); function change_existing_currency_symbol( $currency_symbol, $currency )…
MemberPress: Add Email Recipients to Specific Emails
This code snippet adds additional email recipients to the MemberPress email recipient list if the email…
Limit Cart to One Item
Prevents customers from ever purchasing more than a single item at once
WP Simple Pay: Reduce Currency Minimum Amount
The minimum amount is $0.50 US or equivalent in charge currency. WP Simple Pay uses $1.00…
WP Simple Pay: Increase Input Font Size
Increase the font size of form inputs
WP Simple Pay: Add Customer Shipping Address to Payment Metadata
Maps the customer's shipping address to the one-time payment record's metadata.
MemberPress: Move "Upgrade" Button to after Subscriptions Tab
This code snippet creates a new tab positioned right after the Subscriptions tab on the MemberPress…
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…
Move Campaign Summary Description Below Content
Shuffle the order of things on the campaign page.