wpsharks / comment-mail

A WordPress plugin enabling email subscriptions for comments.
http://comment-mail.com
GNU General Public License v3.0
8 stars 3 forks source link

User-configurable options via filter for postSelectOptions() #335

Open raamdev opened 7 years ago

raamdev commented 7 years ago

It's not currently possible for a site owner to remove the post date that gets prepended to the post title in the Post dropdown when Subscribing without commenting:

2017-04-17_19-24-10

The postSelectOptions() markup utility is responsible for adding the date when a select box containing posts is displayed on the front-end: https://github.com/websharks/comment-mail/blob/161213/src/includes/classes/UtilsMarkup.php#L430-L435

This sort of thing should be user-configurable, with a filter at the very least.