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: Create WordPress User After Payment
Creates a new WordPress user when a subscription is started or a one-time payment is made.
Add Subscriber to Segment
This snippet helps you add the push subscriber to the segment as per the action defined.
Required Fields
Modify the required fields for checkout.
Disable WooCommerce widgets on vendor store pages
/** * Remove widgets from the vendor store and single product pages conditionally. * * You…
sion
sion
Using an Office 365 GCC or DoD email address
For security measures, Government Community Cloud (GCC) and U.S. Department of Defense (DoD) accounts typically use…
Hide Payment Icons When Free
Hide payment icons on the checkout form when cart total is free
Custom WooCommerce Status
This is how to create a custom Woocommerce Status while being able to use the "Mark…
WP Simple Pay: Programmatically Set Custom Field Default Value
Use metadata as the default value for a payment form's custom field.
Contato
Entre em contato conosco, sugira, elogie, corrija, reclame
Custom Terms Page
Use the custom page for "agree to terms" and link to it instead of opening terms…
Load all Customizer "Additional CSS" in Block Editor
The CSS added to the frontend via the Customizer does not get added to the block…
Show Discount Field
Makes the discount field on checkout show by default.