Steel Wagstaff
3 years ago
committed by
GitHub
9 changed files with 254 additions and 306 deletions
@ -1,44 +0,0 @@
|
||||
<?php |
||||
/** |
||||
* Admin Interventions |
||||
* |
||||
* @see https://github.com/soberwp/intervention/ |
||||
*/ |
||||
|
||||
use function \Sober\Intervention\intervention; |
||||
|
||||
intervention( 'remove-customizer-items', 'static-front-page', 'all' ); |
||||
intervention( 'remove-emoji' ); |
||||
intervention( 'remove-howdy', __( 'Hello,', 'pressbooks-aldine' ) ); |
||||
intervention( 'remove-dashboard-items', [ 'activity', 'quick-draft' ] ); |
||||
intervention( |
||||
'remove-menu-items', [ |
||||
'posts', |
||||
'tool-import', |
||||
'tool-export', |
||||
'setting-writing', |
||||
'setting-reading', |
||||
'setting-permalink', |
||||
], 'all' |
||||
); |
||||
intervention( |
||||
'remove-widgets', [ |
||||
'pages', |
||||
'calendar', |
||||
'archives', |
||||
'links', |
||||
'media-audio', |
||||
'meta', |
||||
'search', |
||||
'categories', |
||||
'recent-posts', |
||||
'recent-comments', |
||||
'rss', |
||||
'tag-cloud', |
||||
'custom-menu', |
||||
'custom-html', |
||||
'media-video', |
||||
'akismet', |
||||
], 'all' |
||||
); |
||||
intervention( 'remove-toolbar-frontend', 'all' ); |
Loading…
Reference in new issue