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

Feature request: add a filter to control which post types can use Public Post Preview #174

Closed
benlk opened this issue May 21, 2024 · 2 comments

Comments

@benlk
Copy link

benlk commented May 21, 2024

$post_types = get_post_types(
array(
'public' => true,
)
);

This list of post-types should be filterable to allow removing post types that the user does not want to enable PPP on.

@ocean90
Copy link
Owner

ocean90 commented Nov 17, 2024

The filter was added in 697e396.

@ocean90 ocean90 closed this as completed Nov 17, 2024
@benlk
Copy link
Author

benlk commented Nov 17, 2024

Thank you!

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

No branches or pull requests

2 participants