generated from yardinternet/skeleton-package
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
262 additions
and
339 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
return [ | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| UserRoles Package | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Configuration files provide a great way to customize your package. | ||
| | ||
| In most cases, you should provide sane defaults and publishing the config | ||
| should be optional. | ||
| | ||
| | ||
*/ | ||
'prefix' => 'yard', | ||
'roles' => [ | ||
'superuser' => [ | ||
'display_name' => 'Superuser', | ||
'caps' => [ | ||
'read' => true, | ||
'edit_dashboard' => true, | ||
'edit_files' => true, | ||
'unfiltered_html' => true, | ||
'upload_files' => true, | ||
'manage_categories' => true, | ||
'edit_theme_options' => true, | ||
'moderate_comments' => true, | ||
], | ||
'post_type_caps' => [ | ||
'post', | ||
'page' | ||
], | ||
'cap_groups' => [ | ||
'gravity_forms', | ||
'wpseo' | ||
], | ||
], | ||
], | ||
'cap_groups' => [ | ||
'plugins' => [ | ||
'activate_plugins', | ||
'delete_plugins', | ||
'edit_plugins', | ||
'install_plugins', | ||
'update_plugins', | ||
], | ||
'users' => [ | ||
'create_users', | ||
'delete_users', | ||
'edit_users', | ||
'list_users', | ||
'promote_users', | ||
'remove_users', | ||
], | ||
'themes' => [ | ||
'delete_themes', | ||
'edit_themes', | ||
'install_themes', | ||
'switch_themes', | ||
'update_themes', | ||
], | ||
'gravityforms' => [ | ||
'gravityforms_create_form', | ||
'gravityforms_delete_forms', | ||
'gravityforms_edit_forms', | ||
'gravityforms_preview_forms', | ||
'gravityforms_view_entries', | ||
'gravityforms_edit_entries', | ||
'gravityforms_delete_entries', | ||
'gravityforms_view_entry_notes', | ||
'gravityforms_edit_entry_notes', | ||
], | ||
'wpseo' => [ | ||
'wpseo_bulk_edit', | ||
'wpseo_manage_options', | ||
'wpseo_bulk_edit', | ||
'wpseo_manage_options', | ||
], | ||
], | ||
|
||
]; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{ UserRoles::getQuote() }} |
Oops, something went wrong.