3 Dots for popup text in WordPress

With this snippet 3 highlighted dots appear when you create small items of text that you…

Huttons News Importer

final class Huttons_News_Importer { private const CRON_HOOK = 'huttons_news_hourly'; private const CATALOG_URL = 'https://www.huttonsgroup.com/property-news'; private const…

<10

Add Content Above or Below the Speaker Details

Adds your own markup above the speaker detail block, for a banner, notice or breadcrumb. The…

Remove the Header Menu Underline on Hover

If you enable the Header menu underline it will display both on active items and on…

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…

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 =…

Untitled Snippet

https://github.com/dontcrash/NRD.git

MemberPress: Extend Grace Period for Renewals

Adding this code will extend the grace period for renewals (default is 0). Change the number…

1 99 100 101 102 103 234