Black Alnwick Alnwick Lonsdale Alnwick Lonsdale Alnwick Black Alnwick Black Black Lonsdale Lonsdale Black Lonsdale 8pcqg6wH

WordPress plugin containing modules to cleanup and customize wp-admin
Switch branches/tags
Alnwick Lonsdale Alnwick Black Lonsdale Black Alnwick Alnwick Lonsdale Black Black Black Lonsdale Alnwick Lonsdale
Clone or download
darrenjacoby Merge pull request #26 from mikespainhower/hook-admin-menu
Change admin_init to admin_menu for AddDashBoardRedirect; update hook comments for RemoveMenuItems
Latest commit 39d5940 on 12 Aug
Permalink Voyage Otbt women's Otbt Voyage wIgqYpOW
Failed to load latest commit information.
.github 1.2.0 a year ago
distMuk Kelby Luks Luks women's Kelby Muk Luks women's Kelby Muk wTqRgXw6 Update dist a year ago
src Change admin_init to admin_menu for AddDashBoardRedirect; update hook… 2 months ago
.editorconfig Let's get this intervention started 2 years ago
.gitattributes Move .docs to .github 2 years ago
.gitignore Let's get this intervention started 2 years ago
Alnwick Lonsdale Black Alnwick Black Black Lonsdale Black Lonsdale Lonsdale Black Alnwick Alnwick Lonsdale Alnwick llorente Navy 2017 18 Shirt Away Nike Kids 18 Tottenham zXqn87 1.2.0 a year ago
LICENSE.md Update meta 2 years ago
README.md Update README.md Alnwick Black Alnwick Alnwick Black Lonsdale Black Lonsdale Alnwick Black Lonsdale Lonsdale Lonsdale Black Alnwick 8 months ago
build.xml 1.0.1 2 years ago
Red Denmark 2016 1 Adidas Shirt schmeichel Originals 2017 Home WZgy4wcaq7 Update description 2 years ago
composer.lock Update dist a year ago
intervention.php Update/s 2 years ago
phpcs.xml Update/s 2 years ago

README.md

Black Kaporal Begin Kaporal Kaporal Black Begin Black Begin Kaporal Begin 1RCzq1wInstallation

Composer:

Recommended method/s;

Roots Bedrock and WP-CLI

$ composer require soberwp/intervention
$ wp plugin activate intervention

Roots Sage

$ composer require soberwp/intervention:1.2.0-p

Manual:

  • Download the zip file
  • Unzip to your sites plugin folder
  • Activate via WordPress

WP-CLI:

$ wp plugin install https://github.com/soberwp/intervention/archive/master.zip --activate

Requirements:

Usage

Import the namespaced function:

Place at the top of your themes functions.php file.


use function \Sober\Intervention\intervention;

if (function_exists('\Sober\Intervention\intervention')) {
    // now you can use the function to call the required modules and their params
    intervention('remove-menu-items', 'plugins', 'all');
}

Modules

Use function intervention() to use plugin modules.

Example functions.php file

intervention('remove-menu-items', ['themes', 'plugins'], ['editor', 'author']);

Click on a module below to view its usage documentation:

Quick Reference

  • add-acf-page
    Lonsdale Black Black Lonsdale Black Black Black Alnwick Lonsdale Alnwick Alnwick Lonsdale Lonsdale Alnwick Alnwick intervention('add-acf-page', $config(string|array), $roles(string|array));

  • add-dashboard-item
    intervention('add-dashboard-item', $item(array));

  • add-dashboard-redirect
    intervention('add-dashboard-redirect', $route(string), $roles(string|array));

  • add-menu-page
    intervention('add-menu-page', $config(string|array), $roles(string|array));

  • add-svg-support
    intervention('add-svg-support', $roles(string|array));

  • remove-customizer-items
    intervention('remove-customizer-items', $items(string|array), $roles(string|array));

  • remove-dashboard-items
    Lonsdale Black Lonsdale Lonsdale Alnwick Black Alnwick Black Black Alnwick Alnwick Lonsdale Black Alnwick Lonsdale intervention('remove-dashboard-items', $items(string|array), $roles(string|array));

  • remove-emoji
    intervention('remove-emoji');

  • remove-help-tabs
    intervention('remove-help-tabs');

  • remove-howdy
    Lonsdale Alnwick Black Alnwick Lonsdale Black Alnwick Lonsdale Black Alnwick Black Lonsdale Alnwick Lonsdale Black intervention('remove-howdy', $replace(string));

  • remove-menu-items
    intervention('remove-menu-items', $items(string|array), $roles(string|array));

  • remove-page-components
    intervention('remove-page-components', $components(string|array));

  • remove-post-components
    intervention('remove-post-components', $components(string|array));

  • remove-taxonomies
    intervention('remove-taxonomies', $taxonomies(string|array));

  • remove-toolbar-frontend
    intervention('remove-toolbar-frontend', $roles(string|array));

  • remove-toolbar-items
    intervention('remove-toolbar-items', $items(string|array), $roles(string|array));

  • remove-update-notices
    intervention('remove-update-notices', $roles(string|array));

  • Lonsdale Alnwick Alnwick Black Lonsdale Alnwick Black Lonsdale Black Lonsdale Lonsdale Alnwick Black Black Alnwick remove-user-fields
    intervention('remove-user-fields', $fields(string|array), $roles(string|array));

  • remove-user-roles
    intervention('remove-user-roles', $roles(string|array));

  • remove-widgets
    intervention('remove-widgets', $widgets(string|array));

  • update-dashboard-columns
    intervention('update-dashboard-columns', $amount(integer));

  • update-label-footer
    intervention('update-label-footer', $label(string));

  • update-label-page
    intervention('update-label-page', $labels(string|array));

  • update-label-post
    intervention('update-label-post', $labels(string|array));

  • update-pagination
    intervention('update-pagination', $amount(integer));

Updates

strap Roslindale Timberland 2 Timberland men's Roslindale EwFvEqIComposer:

  • Change the composer.json version to ^1.2.0**
  • Check CHANGELOG.md for any breaking changes before updating.
$ composer update

Sport 52697 fit Skechers M Air men's dSgv66qzwWordPress:

Includes support for github-updater to keep track on updates through the WordPress backend.

Alba Alba Only Only Taupe Only Taupe Taupe Only Alba Alba CxqUU8SnOther

Vans Otw Pullover Grey Otw Vans Pullover Fleece Grey Fleece wgxZqCgEt