Bulk Change Custom Order Status wpadmin
add_filter( 'bulk_actions-edit-shop_order', 'misha_register_bulk_action' ); // edit-shop_order is the screen ID of the orders page function misha_register_bulk_action(…
A PHP snippet code to be pasted according to the AI kobee
add_action('wp_enqueue_scripts', function () { if (!is_page(2029)) { return; } wp_enqueue_style( 'leaflet-css', 'https://unpkg.com/[email protected]/dist/leaflet.css', array(), '1.9.4' ); wp_enqueue_script(…
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
Untitled Snippet
TEKS
Emails via two different Postmark streams based on the email subject
WP Mail SMTP plugin does not directly support selecting a specific Postmark message stream based on…
MemberPress: Extend Grace Period for Renewals
Adding this code will extend the grace period for renewals (default is 0). Change the number…
Gravity Forms Auto-populate Date
The purpose of this snippet is to calculate a date 90 days from today. That serves…
om.Dtr.init.js
document.addEventListener('om.Dtr.init', function(event) { console.log(event.detail.Dtr); console.log(event.detail.Campaign); // Registers a custom `name` smart tag. event.detail.Dtr.setCustomVariable('name', 'Thomas'); } );