apply_filters ( 'jetpack_stats_dashboard_widget_show_to_user', bool Whether )

Filter whether the Jetpack Stats dashboard widget should be shown to the current user.<p>By default, the dashboard widget is shown to users who can view_stats.</p>

Source file: class-jetpack-stats-dashboard-widget.php

View in GitHub

Parameters

Whether

(bool) Whether to show the widget to the current user.


Changelog

Since: Jetpack 11.9


How to use this hook

See Using actions and filters to customize Jetpack.

Notes

Have a note to contribute?