darrenjacoby / intervention

WordPress plugin to configure wp-admin and application state using a single config file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[wp-admin.common.adminbar.user]

bigskillet opened this issue · comments

Admin bar user options are not being removed.

Intervention: 2.0.0-rc.1
WordPress: 5.6

common.adminbar.user.[howdy, avatar, profile, edit]

Never mind... it just dawned on me that those are options, not an array, and that I should remove the brackets.

common.adminbar.user.howdy

Yea! I can look into making that clearer in the docs.

You can also pass common.adminbar.user => ['howdy', 'avatar', 'profile', 'edit'] if you wanted to group them.