aa
add_action('admin_notices', function () { if (!current_user_can('manage_options')) { return; } echo 'WPCode test is working.'; echo 'Application…
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: Prevent users from auto-login after registration
The code snippet is designed to disable the auto-login feature for users who register for a…
Clamp Text size for Elementor
only for elementor builder
Local Novaria
Nation Details Industry Output Upgrade Level Income from Industry Percentage Contribution to Exports Investment Cost Divestment…
New Tasty Roundups - Change Heading from h2 to h3
Change all your Tasty Roundup headings from h2 tags to h3 tags
Limit Cart to One Item
Prevents customers from ever purchasing more than a single item at once
MemberPress: Return to Same Page After Signup
Return the user to the same page after they register.
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…