Glass Shards CSS
.glass-shard { /* Glass effect */ background: rgba(255, 255, 255, 0.18); backdrop-filter: blur(9.8px); -webkit-backdrop-filter: blur(9.8px); box-shadow:…
HosaEna Header Solid Transition
(function(){ const header = document.querySelector('.site-header'); function setSolidByScroll(){ if(!header) return; if(window.scrollY > 50){ header.classList.add('he-solid'); } else {…
GravityForms_DIR_AD_RAPI - Expose Gravity Forms ACF Fields to REST API
* Description: Makes Gravity Forms data accessible via Application Password authentication * Location: Run Everywhere *…
WpPages_DIR_AC_RAPI - Expose WordPress Pages Sync ACF Fields to REST API
* Description: Makes WordPress Pages data accessible via Application Password authentication * Location: Run Everywhere *…
Change Currency Format By Locale
This snippet below shows how to change the currency format for each language.
Admin Bar - Updates (copy)
Show updates in Admin Bar
reunik1
increase limit
Allow Subscriptions Product on BOGO and Add Product Search Field
add_filter( 'acfw_product_search_allowed_types' , 'acfw_search_add_support_for_subscription_products' ); function acfw_search_add_support_for_subscription_products( $product_types ) { $product_types[] = 'subscription'; $product_types[] = 'variable-subscription';…
VDX Optimizer
// VDX Optimizer - SEO, Social Media & WooCommerce // SEO Meta Tags add_action('wp_head', function() {…
Sample Email Template Tag
This is an example of how to register a new email template tag for EDD.
CSS de base
p, h1, h2, h3, h4, h5, h6 { margin-block-start: 0!important; margin-block-end: 0; } ul { margin:…
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 ) {…