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 Granular Control #11

Open
mustafauysal opened this issue Jul 21, 2024 · 0 comments
Open

Add Granular Control #11

mustafauysal opened this issue Jul 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mustafauysal
Copy link
Member

Currently, we remove all comment-related functionality indiscriminately.

Consider adding granular control by allowing comments on certain post types while disabling them on others. Additionally, filters will be added to control behavior, such as disabling comments on XMLRPC and REST. This could provide more flexibility and customization options for managing comments.

Since some logical behaviors need to change, perhaps it's better to use constants like

define( 'SIMPLY_DISABLE_COMMENTS_ALLOWED_POST_TYPES', [ 'foo_bar' ] );

instead, filter at this time.

@mustafauysal mustafauysal added the enhancement New feature or request label Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant