developer
  • Codex
  • Beta Program
  • Support
  • Blog
  • Docs

Chapters

  • WP Hooks Reference
    • Ads
    • Asset CDN
    • Brute force protection
    • Carousel
    • Comment Likes
    • Comments
    • Copy Post
    • Custom content types
    • Extra Sidebar Widgets
    • Forms
    • Google Fonts (Beta)
    • Gravatar Hovercards
    • Image CDN
    • Infinite Scroll
    • JSON API
    • Jetpack Social
    • Jetpack Stats
    • Likes
    • Markdown
    • Newsletter
    • Notifications
    • Related posts
    • SEO Tools
    • Search
    • Secure Sign On
    • Sharing
    • Shortcode Embeds
    • Site verification
    • Sitemaps
    • Tiled Galleries
    • VideoPress
    • Widget Visibility
    • WooCommerce Analytics
  • Jetpack Development
    • Contributor Code of Conduct
    • Developer Environment
    • Monorepo Overview
    • Autoloader
    • Starting a New Project
    • Coding Standards
    • Internationalization
    • Testing
    • Code Deprecation
    • Static Code Analysis
    • Creating a Pull Request
    • Releases
    • Jetpack CLI
    • IDE Integrations
  • Customization
    • Contact Form Customization
    • Jetpack Search: Document Fields
    • Jetpack Search: Query Customization
    • Module Overrides
    • Related Posts
    • Theme support
      • Content Options
      • Featured Content
      • Infinite Scroll
      • Responsive videos
      • Site Breadcrumbs
      • Social Links
      • Social Menu
    • WP Super Cache
      • Add or Removing Cookies
      • Developer Documentation
      • Partial Page Caching
      • WP Super Cache FAQ
      • Writing WP Super Cache Plugins
    • WP.me Shortlinks

In this article

  • Parameters
  • Changelog
  • How to use this hook
  • Notes

↑ Back to top

filter

jetpack_disable_twitter_cards

Allow Twitter Card Meta tags to be disabled.

Parameters

true
bool

Should Twitter Card Meta tags be disabled. Default to true.

Changelog

  • Introduced in Jetpack 2.6.0

How to use this hook

See “How to use actions and filters to customize Jetpack”.

Notes

You can remove all Twitter Cards tags added by Jetpack like so:
add_filter( 'jetpack_disable_twitter_cards', '__return_true', 99 );
«Previous: jetpack_heartbeat
Next: wpcom_json_api_attachment_cast_and_filter»
An Automattic contraptionWork With Us
  • Comment
  • Subscribe Subscribed
    • Jetpack Developer Resources
    • Join 114 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Jetpack Developer Resources
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar