searchwp\options\dashboard_stats_link
Since: 4.0.0
Table of Contents
Control whether SearchWP’s Statistics link appears.
Parameters
Type | Parameter | Default | Since |
---|---|---|---|
Boolean | $enabled |
true |
4.0.0 |
Examples
All hooks should be added to your custom SearchWP Customizations Plugin.
Hide SearchWP's Statistics link
Hide SearchWP’s Statistics link.
<?php | |
// Hide SearchWP's Statistics link. | |
add_filter( 'searchwp\options\dashboard_stats_link', '__return_false' ); |