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_show_promotions

Whether promotions are visible or not.

Parameters

$are_promotions_active
bool

Status of promotions visibility. True by default.

Changelog

  • Introduced in Jetpack 4.8.0

How to use this hook

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

Notes

You can use this filter to hide banners from Jetpack’s Admin Interface, like so:
add_filter( 'jetpack_show_promotions', '__return_false' );
«Previous: jetpack_format_theme_details
Next: jetpack_photon_admin_allow_image_downsize»
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