Dashboard customization

Using Alter you can customize the menu labels on WordPress dashboard:

use Hero\Core\Model;
class Car extends Model {

  public $labels = ["Car", "Cars"];

}

You can also customize the icon that will appear on WordPress dashboard:

use Hero\Core\Model;
class Car extends Model {

  public $icon = "dashicons-admin-home";

}

Alter uses the WordPress Dashicons.

Leave a comment

Your email address will not be published. Required fields are marked *