Add Custom Attributes and Group Them
// Step 1: Add your custom attribute(s) to a named group function add_custom_grouped_attributes( $attributes ) {…
om-custom-redirect-close.js
jQuery(document).ready(function($){ function omRedirect() { var url = "https://optinmonster.com"; $(location).attr('href',url); } $(document).on('OptinMonsterOnClose', function(event, data, object){ if(data.optin =…
css-example.css
html div#om-{{id}} [class$="-form"] { /* Your custom styles */ }
ACF_KEYSMST_MSTCASECPT – TAB - OUTCOMES & DISCHARGE (v3.0 Modular)
/** * ============================================ * MST CASE - TAB: OUTCOMES & DISCHARGE (v3.0 Modular) * ============================================ *…
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 *…
Disable Unused Auto-Generated Image Sizes
* Disable Unused Auto-Generated Image Sizes * Optimized for AWS Storage savings & Performance.
Remove ISO 4217 for Google Feeds
// Force localization for all feeds add_filter('adt_product_feed_localize_price_args', function($args) { $args['decimal_separator'] = '.'; $args['thousand_separator'] = ','; return…
change from the address
change email and name posted
Add Tax ID to Shipping Label
/** * Add the Tax ID Field to the settings page * * In this example…
Including product tax to commission calculation
add_filter( 'wcvendors_commission_rate', 'wcv_calculate_commission_include_product_tax', 10, 5 ); function wcv_calculate_commission_include_product_tax( $commission, $product_id, $product_price, $order, $qty ) { $product…