Category: Admin
Well-B Assessment App
Well-B AssessmentContinue reading
Custom AutomateWoo Function – Push User Meta to CRM via WP Fusion
function rd_aw_custom_function_wpf_push_user_meta( $workflow ) { if ( ! function_exists( ‘wp_fusion’ ) || ! is_object( $workflow ) ) { return; } $user_id = 0; if ( method_exists( $workflow, ‘data_layer’ ) && is_object( $workflow->data_layer() ) ) { $data_layer = $workflow->data_layer(); if (…Continue reading
Charitable: Force PayPal Legacy gateway
/** * Charitable — Force PayPal Legacy gateway on this site. * * Overrides Charitable Pro 1.8.15+ PayPal tier detection at read-time * so the legacy `paypal` gateway stays visible (and PayPal Commerce stays * hidden) regardless of what was…Continue reading
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 $args; }); add_filter(‘adt_pfp_localize_price_iso4217_feeds’, function($feeds) { // Remove all Google feeds from ISO4217 formatting return array_filter($feeds, function($feed) { return strpos($feed, ‘google_’) !== 0; }); });Continue reading
Remove ISO 4217 Format for specific feeds
//Google Feeds add_filter(‘adt_pfp_localize_price_iso4217_feeds’, function($feeds) { // Remove all Google feeds from ISO4217 formatting return array_filter($feeds, function($feed) { return strpos($feed, ‘google_’) !== 0; }); }); //Facebook Feeds add_filter(‘adt_pfp_localize_price_iso4217_feeds’, function($feeds) { // Remove all Facebook feeds from ISO4217 formatting return array_filter($feeds, function($feed)…Continue reading
Force localized currency for product feeds
// Force localization for all feeds add_filter(‘adt_product_feed_localize_price_args’, function($args) { $args[‘decimal_separator’] = ‘.’; $args[‘thousand_separator’] = ‘,’; return $args; });Continue reading
Untitled Snippet
event snippet
<!– Event snippet for Phone call lead conversion page –><script>gtag(‘event’, ‘conversion’, {‘send_to’: ‘AW-18137337252/pdLiCOvn4qocEKSbx8hD’});</script>Continue reading
Custom AutomateWoo Function – Push Subscription Meta to CRM via WP Fusion
if ( ! defined( ‘ABSPATH’ ) ) { exit; } function rd_aw_custom_function_wpf_push_subscription_meta( $workflow ) { if ( ! function_exists( ‘wp_fusion’ ) ) { return; } if ( ! is_object( $workflow ) || ! method_exists( $workflow, ‘data_layer’ ) ) { return;…Continue reading