Automattic / Automattic/syndication

Make the Post Type filter optional

Open
#138 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
107
Forks
44
Avg merge
18m
Merged PRs (30d)
19

Description

We've disabled the following to enable usage for Custom Post Types:

```
public function display_post_types_selection() {
// @TODO add more suitable filters
$post_types = get_post_types( array( 'public' => true ) );
```
Any chance you can make this an option please? Perhaps with a disclaimer that not all CPTs may work if they use custom tables if you're concerned about that.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading display_post_types_selection() and the current get_post_types( array( 'public' => true ) ) call shown in the issue. Done means the post-type filter can optionally include Custom Post Types, with a disclaimer that CPTs using custom tables may not work.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
content
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.