apply_filters ( 'jetpack_show_promotions', bool $are_promotions_active )

Whether promotions are visible or not.

Source file: _inc/lib/admin-pages/class.jetpack-react-page.php

View in GitHub

Parameters

$are_promotions_active

(bool) Status of promotions visibility. True by default.


Changelog

Since: Jetpack 4.8.0


Notes

You can use this filter to hide banners from Jetpack’s Admin Interface, like so:

add_filter( 'jetpack_show_promotions', '__return_false' );

Have a note to contribute?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s