Intervention

WordPress plugin to configure wp-admin and application state using a single config file.
Alternatives To Intervention
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Intervention6321243 months ago14July 12, 2023mitPHP
WordPress plugin to configure wp-admin and application state using a single config file.
Distributor573
6 days ago202gpl-2.0PHP
Share content between your websites.
Wordpress Github Sync562
3 years ago22gpl-3.0PHP
A WordPress plugin to sync content with a GitHub repository (or Jekyll site)
Mainwp382
8 days ago30November 24, 20223gpl-3.0PHP
The MainWP Dashboard is an open source self-hosted WordPress management plugin that allows you to maintain virtually all aspects of multiple WordPress sites.
Vvv Dashboard264
5 years ago17PHP
Dashboard for Varying Vagrant Vagrants https://github.com/Varying-Vagrant-Vagrants/VVV
Aesop Core244
a year ago55June 21, 202049gpl-2.0JavaScript
Open-sourced suite of components that empower interactive storytelling in WordPress.
Page Template Example224
7 years ago3gpl-2.0PHP
[WordPress] An example WordPress plugin used to show how to include templates with your plugins and programmatically add them to the active theme.
Vvv Dashboard128
3 years ago2gpl-2.0PHP
A Beautiful, Simple and Easy-To-Use Dashboard for Varying Vagrant Vagrants (VVV)
Pressforward116
6 months ago108agpl-3.0PHP
PressForward is a free plugin that provides an editorial workflow for content aggregation and curation within the WordPress dashboard. It is designed for bloggers and editorial teams who wish to collect, discuss, and share content from a variety of sources on the open web.
Cleanblog113
6 months ago1PHP
:computer: Free WordPress theme for personal blogging
Alternatives To Intervention
Select To Compare


Alternative Project Comparisons
Readme

Easily customize wp-admin and configure application options.

View on WordPress.org

Installation

Composer

$ composer require wpackagist-plugin/intervention

WP-CLI

$ wp plugin install intervention --activate

Requirements

Usage

Create config/intervention.php for Sage 10, or intervention.php inside your theme root folder and return an array.

<?php

return [
    'application' => [

    ],
    'wp-admin.$role|$username' => [

    ],
];

For the options, you can use dot notatation, a standard array, or a combination.

Admin

Remove components from wp-admin.

Return wp-admin.$role or wp-admin.$username

  • Support for multiple user roles using a pipe operator.
    • editor|author
<?php

return [
    'wp-admin.$role|$username' => [
        'common.adminbar',
    ],
];

User Roles

  • all
  • all-not-administrator (shortcut alias)
  • administrator
  • author
  • editor
  • contributor
  • subscriber

Options

Login

Common

Dashboard

Posts

Media

Pages

Comments

Appearance

Plugins

Users

Tools

Settings

Application

Set application options.

  • Options are automatically changed to read only fields in wp-admin.
  • Options can be placed under version control.

Return application.

Tip: automate exporting a config file from the database using ToolsIntervention in the WordPress admin.

<?php

return [
    'application' => [
        'general' => [
            'tagline' => 'Intervention Example',
            'wp-address' => 'https://example.com/wp',
            'site-address' => 'https://example.com',
            'admin-email' => '[email protected]',
            'membership' => false,
            'default-role' => 'editor',
            'language' => 'en_US',
            'timezone' => 'Africa/Johannesburg',
            'date-format' => 'F j Y',
            'time-format' => 'g:i a',
            'week-starts' => 'Mon',
        ],
    ],
];

Options

Quick Reference

Connect

Popular Wordpress Projects
Popular Dashboard Projects
Popular Content Management Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Php
Wordpress
Dashboard
Wordpress Plugin
Woocommerce
Wordpress Development
Wordpress Api
Wordpress Admin