Sample Email Template Tag
This is an example of how to register a new email template tag for EDD.
Add a button to customer data
Add a button to retrieve all customer data.
WPBakery Collapse All Rows
Adds Collapse / Expand All Rows in WP Bakery Builder + Ave WP Theme
WPForms Center Align
Cernter alligns WP forms fields and content. Must enter wpf-center in General/Advanced form settings.
Charitable: Force PayPal Legacy gateway
Overrides Charitable Pro 1.8.15+ PayPal tier detection at read-time so the legacy `paypal` gateway stays visible…
Get rid of Home
Removal of "Home - " in the Title Tag
Custom fields to vendor settings page
add_action('wcvendors_settings_after_paypal', 'pv_add_custom_merchant_id_field'); function pv_add_custom_merchant_id_field() { ?>
Allow WooCommerce Shop Managers to manage vendors
/* Lets Shop Managers edit users with these user roles */ function wcv_allow_shop_manager_role_edit_capabilities( $roles ) {…
Untitled Snippet
file:///Users/kelseyfisher/Downloads/kdf-carpentry-site.html
login redirect changed from default my account page to home page
/** * WooCommerce My Account Page login Redirect */ add_action( 'wp_login', 'owp_redirect_after_logout' ); function owp_redirect_after_logout() {…
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(…
Show a Notice When an Event Has Ended
A finished event page looks the same as a live one. Someone arriving from a search…
Search Only Post
Limit the search to posts only, ignore all pages.