Untitled Snippet
PIPAS — Biennale de Photographie Genève PIPAS À propos Pratique 24 22 PIPAS Biennale de Photographie…
Disallow Store Credit When There Is an Active Coupon in the Cart
- When you apply coupon first, once the cart refreshes, the Store Credit field will be…
Opening booking resources editor in new tab
This snippet will open the booking resources editor in a new tab instead of opening it…
Override the commission calculation priority order
/** * Given the provided list of vendor_ids in the vendors array, override the commission to…
Fix 500 Internal Server Error
A .htaccess file is a key file in all PHP-based applications that controls your website’s configuration.…
Disable Gutenberg Editor (use Classic Editor)
add_filter('gutenberg_can_edit_post', '__return_false', 5); add_filter('use_block_editor_for_post', '__return_false', 5);
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…
Set the ranges for Calendar & Calendar List (Combined) View | Display Eventbrite Events
The following code snippet filters the valid ranges for the next/prev keys of the calendar and…
Combined Date – Time Format (Do something with the Local End Time) | Display Eventbrite Events
The combined date / time format appears in several layouts and typically looks like 12/02/2019, 10:00…
Trigger a Scheduled Export via a WordPress Action
function custom_trigger_scheduled_export_url() { $secret_key = ( isset( $_GET['secret_key'] ) ? sanitize_text_field( $_GET['secret_key'] ) : false );…
code at the end of the body tag
Hello, I need to include the following code at the end of the body tag of…
Defining SendGrid Mailer Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…