Untitled Snippet (copy)
google-site-verification=zol97xxoEQZQD_MnQMk5XYbB5EvttgoBE1neUQNyBNYContinue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
google-site-verification=zol97xxoEQZQD_MnQMk5XYbB5EvttgoBE1neUQNyBNYContinue 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
function rd_watch_selected_wpf_meta_fields( $fields ) { $fields[] = ‘example_user_meta_name_1’; // Add real user meta field name/key $fields[] = ‘example_user_meta_name_1’; // Add real user meta field name/key $fields[] = ‘example_user_meta_name_1’; // Add real user meta field name/key, add more rows as required…Continue reading
add_filter( ‘charitable_default_donation_fields’, function( $fields ) { if ( isset( $fields[‘title’] ) ) { // Remove from the donation form entirely $fields[‘title’][‘donation_form’] = false; } return $fields; }, 20 );Continue reading
add_action( ‘template_redirect’, ‘rd_preload_marked_theme_background_images’, 1 ); function rd_preload_marked_theme_background_images() { if ( is_admin() || wp_doing_ajax() || wp_is_json_request() ) { return; } if ( defined( ‘REST_REQUEST’ ) && REST_REQUEST ) { return; } if ( is_feed() || is_trackback() || is_robots() || is_embed() )…Continue reading