if ( ! defined( ‘ABSPATH’ ) ) { exit; } function rd_wpf_resync_subscription_from_automatewoo( $workflow ) { if ( ! function_exists( ‘wp_fusion’ ) ) { return; } if ( ! is_object( $workflow ) || ! method_exists( $workflow, ‘data_layer’ ) ) { return;…Continue reading
function add_apollo_tracker() { ?>Continue reading
add_action(‘wp_head’, ‘ggs_homepage_schema_1901’, 20); function ggs_homepage_schema_1901() { if (!is_page(1901)) { return; } $schema = [ ‘@context’ => ‘https://schema.org’, ‘@graph’ => [ [ ‘@type’ => ‘ProfessionalService’, ‘@id’ => ‘https://goodguysseo.com/#organization’, ‘name’ => ‘Good Guys SEO’, ‘url’ => ‘https://goodguysseo.com/’, ‘telephone’ => ‘+1-917-402-3438′, ’email’ =>…Continue reading
add_action( ‘woocommerce_subscription_date_updated’, function( $subscription, $date_type ) { // Only proceed if it’s a next_payment date change if ( ‘next_payment’ !== $date_type || is_admin() ) { return; } // Make sure WP Fusion is active if ( ! function_exists( ‘wp_fusion’ )…Continue reading
function wpf_tags_body_class( $classes ) { if ( ! function_exists( ‘wp_fusion’ ) ) { return $classes; } if( ! wpf_is_user_logged_in() || wpf_admin_override() ) { return $classes; } $tags = wp_fusion()->user->get_tags(); if( ! empty( $tags ) ) { foreach( $tags as $tag_id…Continue reading