Closed moorscode closed 6 years ago
We need to introduce a helper function which returns a list of post types that we need to consider in our features.
This is a basic list that can be sub-filtered in the specific implementation to allow for more fine-grained control.
We need to implement a couple of levels to make sure we only include post types which are 'workable' for the features we want to show on them.
This includes:
noindex
We also need to implement checks to deal with an empty list of post types.
Based upon https://github.com/Yoast/wordpress-seo-premium/pull/1380
WIP: I've created branch 8105-add-accessible-posts-helper. So this can picked up by somebody else if necessary.
8105-add-accessible-posts-helper
Related https://github.com/Yoast/wordpress-seo/issues/2751
We need to introduce a helper function which returns a list of post types that we need to consider in our features.
This is a basic list that can be sub-filtered in the specific implementation to allow for more fine-grained control.
We need to implement a couple of levels to make sure we only include post types which are 'workable' for the features we want to show on them.
This includes:
noindex
post types (WPSEO Settings)We also need to implement checks to deal with an empty list of post types.
Based upon https://github.com/Yoast/wordpress-seo-premium/pull/1380