Skip to content

Add Granular Control #11

@mustafauysal

Description

@mustafauysal

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions