HubSpot tracking code
HubSpot tracking code
Hide Elementor AI Image
/* * Hide Elementor image optimization ads when choosing the post's featured image on the backend…
Hiltop Desktop Ads Popup
Hiltop PopUp Anti Ads
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…
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' );…
Hide the Email Test Menu Item in Settings
This snippet will hide the 'Email Test' tab from your WP Mail SMTP settings menu.
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…
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…