Recreate the aioseo_cache table
This code snippet recreates the missing 'aioseo_cache' table. This code snippet should be enabled and executed…
Redirect To Referer After Login
/** * After a user logs in, redirect them back to the page they * were…
Change Postcode To Zipcode
/** * Change the "Postcode" field into a "ZIP Code" field. * * @param array[] $fields…
Set Default Donation Amount Per Campaign
/** * Customize the default donation amount on a per campaign basis. * * @see https://github.com/Charitable/library/blob/master/donation-form/set-default-donation-amount.php…
Enable Block Editor For Campaigns
/** * The following code will modify the way the Campaign post type * is set…
WPForms: new smart tag - Current Date/Time
It's a localized date/time in this format: Y-m-d H:i:s
Gravity Forms: Add Custom CSS Buttons to GravityWP CSS Ready Classes Plugin
Add custom CSS: quick buttons and accordion at the top of the GravityWP - CSS Selector…
Google Tag Manager Header
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
Change Plugin Text
/* * A local translation snippet. Change 'YOUR TEXT HERE' to your desired text. * *…
Add Field Placeholders
/** * Add placeholder attributes to donation fields, removing the label field. * * @return void…
Keep Username As Display Name
/** * When people update their profile, keep their display name set to * be the…
Disable Description Text Sanitization
/** * Don't sanitize campaign description text. * * This can be used if you want…
Set featured image aspect ratio
Used for featured image in query loop or any other image the class is applied to