Automattic / Automattic/hidden-posts
Filter to disable for certain custom post types
Open
enhancement
- Dominant language
- PHP
- Stars
- 11
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
Something like:
```
static function enabled() {
return (bool) apply_filters( 'hidden_posts_enabled', true );
}
```
Checks for `enabled()` in:
- `pre_get_posts()`
- `hidden_checkbox()`
- `save_meta()`
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the plugin code defining enabled(), then inspect its checks in pre_get_posts(), hidden_checkbox(), and save_meta(). Add a hidden_posts_enabled filter that can be disabled for selected custom post types, and verify that all three paths honor the disabled result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100