DLXPlugins/wp-ajaxify-comments

Feature Request: PHP Filters for labels per post type

Closed this issue · 1 comments

Feature Request

Add a filter for labels and post types for each label.

It would be nice if we could have some PHP hook to allow us to filter the different types of messages according to the post type.
Ex: A website can have both a blog and a shop section. In which case a "comment" should actually better be called a "review" in the product pages.
Currently doing it via your JS callbacks, by finding a body CSS class that belongs to the post type, and then overriding the appropriate WPAC._Options properties.
It would be much nicer if this could be done at PHP level.

Describe any solutions you've considered

JS filtering.

How important is this feature to you?

Important as it'll save some dev time for users.