humanmade / humanmade/altis-workflow

Allow for disabling Editorial Comments feature through an Altis config option

Open
#62 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
6
Forks
2
PR merge metrics
No merged PRs in 30d

Description

It would be nice to be able to disable the Workflows Editorial Comments functionality with an entry in the Altis config in composer.json.

I'd like for something like this:

```
{
"extra": {
"altis": {
"modules": {
"workflow": {
"enabled": true,
"editorial-comments": false,
}
}
}
}
}
```

to remove 'editorial-comments' support from every post type.

As an enhancement, it might make sense to be able to specify the post types that it should be enabled for here as well:

```
{
"extra": {
"altis": {
"modules": {
"workflow": {
"editorial-comments": {
"post": true,
"page": false,
"attachment": false
}
}
}
}
}
}
```
but that might be doing more than config should really be responsible for.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.