Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add supported_post_types() method #1006

Merged
merged 2 commits into from
Sep 23, 2023
Merged

Conversation

GaryJones
Copy link
Contributor

Description

Allows the method to be called at any time, not just as part of an action callback.

This will help in being able to remove some global variable references in tests.

Removes extra built-in post types that have support for an author, but aren't visible and useful for co-authors to be added.

The class property is populated for back-compat, but this could be removed in a major release.

Includes tests.

Allows the method to be called at any time, not just as part of an action callback.

Includes tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants