WP Simple Pay: Programmatically Set Custom Field Default Value
Use metadata as the default value for a payment form's custom field.
MemberPress: Rearranging Navigation Items On The Account Page
This snippet reorders the Downloads and Subscriptions tabs before Payments tab on the Account page.
Move User Fields In Donation Form
In this example we move the user fields section (the "Your Details" bit) to appear below…
Microsoft Web Master Tool
Microsoft Wen Master tool snippet
Floating Social Media Icons (copy)
Display your Social Media accounts in a floating sidebar.
MemberPress: Change the “Username or E-mail” label on login form
This code changes the “Username or Email” field label on the MemberPress login page. Note: this…
Weather API
Live weather
Add User Field
This adds a field to the end of the "Your Details" section in the Profile form.
Auto register guests that purchase
function wc_register_guests( $order_id ) { // get all the order data $order = new WC_Order($order_id); //get…
quiz
// setup console.log("running"); let q = 1; const submit = document.getElementById("next-button"); const question = document.getElementById("question"); //…
ai content idea generator
function openai_generate_text() { // Get the topic from the AJAX request $prompt = $_POST['prompt']; $prompt ="generate…
Remove Terms Fields
If you would like to enable the terms and conditions, privacy policy and user contact consent…
Send New User Notifications
Send the new user notification after someone registers through the Charitable registration form.
Free tiktok views
Get free tiktok views growing
Prevent Duplicate Purchases
Prevents logged-in customers from purchasing an item twice.