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…
Elementor Rest Bridge
if (!defined('ABSPATH')) { exit; } add_action('init', function () { $post_types = array('page', 'post', 'elementor_library'); foreach ($post_types…
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…
After Checkout Event In WooCommerce
This would stop sending cart abandonment campaigns to your push subscribers in the WooCommerce store as…
Defining SparkPost Mailer Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…
om-nextjs.js
import { useEffect } from 'react'; import { useRouter } from 'next/router'; const OptinMonsterEmbed = ()…
Removing File Upload Fields from Notifications
This code snippet will remove the File Upload fields from Notifications when File Access Restrictions are…
Custom Countries
Illustrates how to add a custom list of countries This list will be used anywhere EDD…
Hiding Your Identity For Amazon SES Mailer Setup
This snippet will enhance privacy and domain restrictions using WP Mail SMTP with Amazon SES mailer.…
Change "City" To Town/City
Change the label of the"City" field into a "Town/City" field.
Disable New User Notifications
Disable the new user notification email for both the admin and user
FES Registration Form Redirect
Set custom redirect URLs for those who just registered to become vendors.