Skip to content

A simple class for injecting separators into the WordPress admin dashboard menu

License

Notifications You must be signed in to change notification settings

ideasonpurpose/wp-admin-separators

Repository files navigation

wp-admin-separators

Version: 1.0.8

Packagist codecov Coverage Status Maintainability styled with prettier

A simple class for injecting separators into the WordPress admin dashboard menu

String values will be rejected. Float arguments will be passed without modification. Duplicate indexes will be merged.

Usage

This library is available on Packagist, to use it, require it in composer.json or tell Composer to load the package:

$ composer require ideasonpurpose/wp-admin-separators

Then add separators to the admin like this:

use IdeasOnPurpose\WP\Admin;

new Separators(25, 26);

Arguments can also be an array, a mix of integers and arrays, or number-ish strings.

About

A simple class for injecting separators into the WordPress admin dashboard menu

Resources

License

Stars

Watchers

Forks

Packages

No packages published