apply_filters ( 'jetpack_dsp_promote_posts_enabled', bool $menu_enabled, int $user_id )

Wether to show the Advertising menu under the main Tools menu.

Source file: modules/masterbar/admin-menu/class-atomic-admin-menu.php

View in GitHub



(bool) Wether the menu entry is shown.


(int) The Advertising menu will be shown/hidden for this user.


Since: Jetpack 11.4


Have a note to contribute?

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

You are commenting using your 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