Removing File Upload Fields from Notifications
This code snippet will remove the File Upload fields from Notifications when File Access Restrictions are…
Force Billing Address
This plugin forces the billing address to always be collected at checkout
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…
MemberPress: Get All the Sub-Accounts Data Under a Corporate Parent User
This PHP snippet creates a WordPress shortcode that displays a list of sub-account users associated with…
Include Pending Donors
By default, the Donors widget & shortcode will only include donors with Paid donations. With this…
cookies
cookies banner huts pot
Disable Author Archive
A small Code that disable the WordPress Author Archive and redirect to the Homepage
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' );…
PurpleIPD Calculator Script
var WA_NUM = "919909903539"; var SCRIPT_URL = "YOUR_GOOGLE_APPS_SCRIPT_URL_HERE"; var R = {}; function fINR(n) { if…
Elementor - Fix the Accordion SEO issue
add_filter( 'elementor/widget/render_content', function ( $widget_content, $widget ) { if ( 'accordion' === $widget->get_name() ) { $widget_content…
Dynamic Year Copyright Shortcode
This snippet adds an easy-to-use shortcode to display the copyright symbol with the current year.
Titel aanpassen archive page
function custom_category_title( $title ) { $title = str_replace( 'Archieven', 'Mijn gewenste titel', $title ); return $title;…
Dequeue CSS files conditionally
Dequeue CSS files conditionally