MemberPress: Assigning BuddyPress Member Type on Membership Signup

This code snippet assigns a specific BuddyPress member type when a user completes a signup in…

MemberPress: Display MemberPress Course Progress Using Shortcode

This shortcode displays a user's progress for a specific course in MemberPress. It outputs a styled…

Shortcode to show Thumbnail

Show the featured image anywhere in the post by using [thumbnail].

How To Change The Add To Cart Label

Change the 'Add To Cart' button text to custom text like 'Add To Order' on wholesale…

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.

Logout without confirmation

add_action('check_admin_referer', 'logout_without_confirm', 10, 2); function logout_without_confirm($action, $result) { if ($action == "log-out" && !isset($_GET['_wpnonce'])) { $redirect_to…

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: Return to Same Page After Signup

Return the user to the same page after they register.

Remove "p" tags Contact Form 7

Remove tags from the forms in the frontend

1 … 59 60 61 62 63 … 242