Set featured image aspect ratio
Used for featured image in query loop or any other image the class is applied to
Variable Pricing License Expiration
Set the expiration time for licenses per price option
Remove Unused JS
/** * We will Dequeue the jQuery UI script as example. * * Hooked to the…
Google Adsense In-Article
Google AdSense In-Article snippet
WP Simple Pay: Allow Customers to Exempt from Tax
Add a "Checkbox" field with the "Stripe Metadata Label" set to "Tax Exempt"
verify
Employee ID Verification Employee ID Verification Employee ID Verify
form autofocus
document.addEventListener('om.Form.autofocus', function(event) { let omForm = event.detail.Form; omForm.autofocus = false; }
Site Wide Header
add_filter('get_custom_logo', function($html) { // Only touch the header logo return preg_replace( '/]+)>/', '', // set to…
Core_Universal_Download Fix
/** * WPCode Snippet: Auto-Create .htaccess in Uploads Folder for Force Download * Description: Creates/updates .htaccess…
PHP-snippet: registratie lessen verwerken en AJAX endpoint
// Configuratie function get_parameters_36(): array { return [ "target_page_slug" => "lesrooster-evenemententeam-2025", "tablepress_table_id" => 36 ]; }…
Restrict WordPress Admin Access by Country
Restrict access to wp-admin based on visitor country using Cloudflare's country header. Useful for agencies, membership…