Prevent Discounts on Upgrades

Does not allow a discount code to be applied when an license upgrade is present in…

Unlimited User Downloads for EDD Recurring

Allows certain users to be allowed to bypass the active account requirement in EDD Recurring Payments

Exclude downloads from search

Exclude downloads from showing in search results

Position the Field Description Above the Form Field

Positions the field description above the form field. Change the 999999 to match your own form…

<10

Use Full Store Address in Ships From

By default the Ships From metadata displayed under the add to cart button only shows the…

Add Custom Taxonomy - Single Vendor Taxonomy

It'll only allow the vendor to select one custom taxonomy term at a time

How to change the store address country for all vendors

/** * Set the vendor's store country to us. */ function wcv_set_vendor_country() { if ( function_exists(…

Allow "Mark received" for Digital Product

if ( ! function_exists( 'wcv_allow_mark_received_for_digital_product' ) ) { /** * Allow vendors to mark received for…

WP Simple Pay: Use Payment Form Description as Payment Description

Always use the payment form's "Description" as the Stripe payment description. By default WP Simple Pay…

WP Simple Pay: Programmatically Access Payment Metadata After Payment

Programmatically access metadata (such as custom field values) associated with a payment record after a subscription…

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);

<10

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…

Untitled Snippet

function obtener_sismos_recientes() { // URL de la API $url = 'https://ultimosismo.igp.gob.pe/ultimo-sismo/ajaxb/2024?_=1694788511856'; // Obtener los datos de…

Add the type property to that Image property in the Organization schema

This snippet will add the 'ImageObject' type property in the 'Organization' schema markup.

<10

WordPress Typography Enhancement: Preventing Widows in Conten

This code is a WordPress filter designed to prevent "widows" in typography within the content displayed…

<10
1 79 80 81 82