Current Year

function current_year_shortcode() { return date('Y'); } add_shortcode('year', 'current_year_shortcode');

Show the Venue Photo Above the Venue Details

Venue pages have no built-in featured image output. This snippet prints the venue photo above the…

Terraform file

terraform { required_providers { stripe = { source = "stripe/stripe" version = "0.1.3" } } }…

Disable User Login

Disable user login to the site temporarily or permanent via user ID, user email or username.

Admin Email Log

Upgrade WP Mail to use Gmail SMTP, log email status to Email Log and display in…

Basic WP escaping functions

// ❌ Don't use _e(), __(), _x() etc. to output data // ✅ Use the escaped…

Filter the message generated for admin confirmation | Quick Event Manager

add_filter('qem_registration_email_message',,,3); This filters allows you to adjust the confirmation email to the admin / organiser (…

Tweaking the Calendar Language Localisation | Display Eventbrite Events

The calendar will attempt to localize the language based on the WordPress website setting. However, the…

Make Paypal as default payment gateway

This snippet will remove all other vendor payment commision methods. Only allowing Paypal, it also makes…

Untitled Snippet

[wpcode id="4547"]

peter rumsavich
<10
1 … 114 115 116 117 118 … 242