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.
MemberPress: Extend the Grace Period
This will extend the default 1-day grace period for subscriptions. The code needs to be adjusted…
Hem
Octodesigns.se Octodesigns.se Hem Produkter Galleri Kontakta mig © 2024 Octodesigns.se All rights reserved. Hem Produkter Galleri…
Submission Form Redirect
Filter the redirect URL for successful FES Submission Form submission
MemberPress: Remove all but one country from the drop-down
Removes all the countries for the drop-down list on the account and registration pages and leaves…
Disable WooCommerce widgets on vendor store pages
/** * Remove widgets from the vendor store and single product pages conditionally. * * You…
MemberPress: WooCommerce - Show Protected Products on the Shop Page
If we protect products using Rules, they won’t show in the Shop page. To change this…
MemberPress: Change Membership Registration URL
Each MemberPress Membership has an automatically generated registration page with its default URL. This code snippet…
om-reactv3.js
// Using React Router V3 import { browserHistory } from 'react-router'; class App extends React.component {…
WPCode Functions
For the WPCode plugin interface
Woocommerce: How to add minimum amount for different categories with different amount per category with different notice.
WooCommerce: Display Minimum Order Amount Notices by Category This code snippet adds functionality to your WooCommerce…