On Scroll Elementor show/hide element
Note: You need to set the id for the button or element to "#scrolling-button".
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…
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" );
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…