CSS de base

p, h1, h2, h3, h4, h5, h6 { margin-block-start: 0!important; margin-block-end: 0; } ul { margin:…

FluentCommunity Auto-Delete Diagnostics

This diagnostic snippet monitors and logs how the FluentCommunity auto-delete system behaves, without needing debug.log. It…

YB Settings

function impBrandsArchive( $query ) { $query->set( 'post_type', [ 'hot-tubs', 'swim-spas', 'saunas' ] ); } add_action( 'elementor/query/brands_archive',…

MemberPress: Require Specific Coupon to Register

The code will make a specific coupon mandatory for purchasing a specific membership. More than one…

Product Expiry For Woo

Supports the Expiry for Woocommerce plugin - WC Vendor

Escaping data with wp_kses

// ❌ Don't use html tags in escaping functions like esc_html, esc_attr and their localized equivalents…

Filter the decision to send a user confirmation | Quick Event Manager

add_filter('qem_registration_always_confirm',,,1); This filter returns a Boolean to decide if a confirm is to be sent or…

Filter Slider Speed | Display Eventbrite Events

The following filter changes slider speed from default 10 seconds ( 10000 milliseconds ). (Note this…

Change rating tooltip colors

Use this CSS to change the default colors for the rating tooltip.

<10

Add file to media library programmatically

wp_insert_attachment( string|array $args, string|false $file = false, int $parent_post_id, bool $wp_error = false, bool $fire_after_hooks =…

1 90 91 92 93 94 218