Replace Add to Cart With Download for Subscribers
If the user is recurring or has purchased the product already, shows a link to download…
Google AD
Google AD Snippet
Profile Data Shortcode
Renders the value of a single Profile Form field. Accepts one value, key. But it has…
MemberPress: Generate All Invoices
If the MemberPress PDF Invoice add-on is activated on the website, MemberPress will start generating invoices…
Recurring Addon Extension: Adding placeholder for custom recurring donations
Edit the custom text box that allows users to input custom donations for recurring donations (only).
Microsoft Web Master Tool
Microsoft Wen Master tool snippet
WP Simple Pay: Programmatically Access Payment Metadata After Payment
Programmatically access metadata (such as custom field values) associated with a payment record after a subscription…
Redirect from Array
Setup redirect for multiple pages.
Chatbot backend
function generate_chat_response( $last_prompt, $conversation_history ) { // OpenAI API URL and key $api_url = 'https://modelsearch1.openai.azure.com/openai/deployments/gpt-35-turbo-StoreWayfinder/chat/completions'; $api_key…
Google Tag Manager - Head
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id=GTM-XXXXXXXXXX'+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-XXXXXXXXXX');
Limit user posts
A settings page to set the number of posts all users can create
Remove Manage Sites
Removes the Manage Sites column from the licenses table on the customer purchase history page
Completely Disable Comments
add_action('admin_init', function () { // Redirect any user trying to access comments page global $pagenow; if…
om-nextjs.js
import { useEffect } from 'react'; import { useRouter } from 'next/router'; const OptinMonsterEmbed = ()…
Number slider validation for single page forms
This snippet uses the wpforms_process_validate_number-slider action to check the slider value after submission.