Defining SendGrid Mailer Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…
add post formats
Adding different types of post formats: aside – Typically styled without a title. Similar to a…
AIOSEO FAQ Block accordion
Adds accordion style toggle functionality to the AIOSEO FAQ block.
MemberPress: Generate All Invoices for the Specific Period (e.g. A Year)
If the MemberPress PDF Invoice add-on is activated on the website, MemberPress will start generating invoices…
MemberPress: Only Allow Coupon Once Per User
Restrict coupon codes so a user can only use the coupon code once.
Increase Memory Limit During Download Delivery
Increase the memory limit of your server to support the delivery of large downloads.
Filter to change Custom Post Type settings | Quick Event Manager
The plugin uses Custom Post Types for Events. The default setting for the post type is…
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…
Local Eldoria National Data
Eldoria Nation Details Industry Output Upgrade Level IT 100 1 Auto 50 1 Agriculture 200 1…
Redirect from Array
Setup redirect for multiple pages.
Remove the LLMS Description for a Specific Post
This snippet removes the description from llms.txt for a specific post ID.
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…
Dequeue CSS files conditionally
Dequeue CSS files conditionally