Alter Payment List Quick Actions

Remove the 'Delete' option from the Payment List Quick Action

Modify User Role on Checkout

Modify the user role that is given to users that register during checkout

Defining Postmark Mailer Constants

This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…

Header and Footer

Copy/pasted form docket

Justin Barron
<10

Do On Complete

Execute code whenever an EDD purchase is complete.

Submission Form Redirect

Filter the redirect URL for successful FES Submission Form submission

Redirect from Array

Setup redirect for multiple pages.

<10

How to Allow Upload SVG Files in WordPress Media Library Code | Function.php

This code is a set of WordPress filters designed to enable the upload of SVG (Scalable…

Current Year Shortcode

Adding the option to use the current year [year] shortcode on your website on any website,…

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…

Add the fields to the user edit screen

// Add the fields to user edit screen. add_action( 'show_user_profile', 'add_extra_user_fields' ); add_action( 'edit_user_profile', 'add_extra_user_fields' );…

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 = ()…

1 … 39 40 41 42 43 … 133