Add Subscriber to Segment with Duration

Adds the subscriber to the segment for a specific duration, after the defined number of days…

Remove Subscriber from Segment

This snippet helps remove a push subscriber from a segment on the defined event.

Add Profile ID to Subscriber

You can assign any CRM ID or your database ID to your push subscriber and then…

On Browsing EDD Products

This snippet targets window shoppers and encourages them to add more products to their carts. This…

After Checkout Event in EDD

This snippet would stop sending cart abandonment campaigns to your push subscribers as the purchase goal…

AstraFormatFix

add_filter( 'astra_v4_block_editor_compat', "__return_true" );

Barry Persons
<10

remove auto linkig

remove_filter( 'comment_text', 'make_clickable', 9 );

Disable delayed customer recalculations

In EDD 3.1.1.4+, to improve checkout performance, the recalculation of a customer's stats were deferred by…

Disable EDD Software Licensing Activation/Deactivation Logs

By default, when a license is activated or deactivated EDD Software Licensing adds a log entry…

Basic WP escaping functions

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

Escaping data with wp_kses

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

HTML inside PHP

How to output HTML inside PHP.

TplMng

// This code is part of the template, $tplData['hasShellZip'] is provided through TplMng $hasShellZip = $tplData['hasShellZip'];…

Advanced Spam Filters for Elementor Forms

Filter spam emails by either email provider @gamil.com, @hotmail.com, or whatever you want. You can also…

1 94 95 96 97 98 174