Skip to content

Instantly share code, notes, and snippets.

@jules0x
Created August 31, 2015 22:41
Show Gist options
  • Save jules0x/3363b6ce823df7c405bb to your computer and use it in GitHub Desktop.
Save jules0x/3363b6ce823df7c405bb to your computer and use it in GitHub Desktop.
Exclude reports from CMS using 'add_excluded_reports'
<?php
SS_Report::add_excluded_reports(
array(
'SideReport_BrokenRedirectorPages',
'SideReport_BrokenVirtualPages',
'SideReport_BrokenFiles',
'CwpStatsReport',
'SideReport_BrokenLinks',
'BrokenLinksReport',
'SideReport_EmptyPages',
'SideReport_RecentlyEdited'
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment