MemberPress: Move PayPal Smart Pay Buttons
Move the PayPal Smart Pay Buttons under the checkboxes for accepting Terms of Service and the…
ai content idea generator
function openai_generate_text() { // Get the topic from the AJAX request $prompt = $_POST['prompt']; $prompt ="generate…
Allow mobile zoom
function et_add_viewport_meta(){ echo ''; }
Free tiktok views
Get free tiktok views growing
Allow Zero Dollar Donations
Allow people to "donate" $0.
Prevent Duplicate Purchases
Prevents logged-in customers from purchasing an item twice.
Set Custom Donation Receipt Page For Offline Donations
You may want to use a different donation receipt page for Offline donations than your other…
Profile Data Shortcode
Renders the value of a single Profile Form field. Accepts one value, key. But it has…
WP Simple Pay: Programmatically Set Custom Field Default Value
Use metadata as the default value for a payment form's custom field.
MemberPress: Display User's Course Progress in MemberPress Courses
The code snippet registers a new shortcode: [mpcs_user_courses_progress]. Adding this shortcode will display all MemberPress courses…
Move User Fields In Donation Form
In this example we move the user fields section (the "Your Details" bit) to appear below…
Google AdSense code
AdSense code
MemberPress: Restrict Signups to a Specific Country
This code snippet limits registration to users from the specified country only. If users from other…
Weather API
Live weather
Add User Field
This adds a field to the end of the "Your Details" section in the Profile form.