Open joshdarby opened 5 years ago
We've been asked by a user if there's a way to add custom fields into the shareable content field.
Currently, the plugin just grabs post_content from the $post object without using a filter.
post_content
$post
https://github.com/INN/republication-tracker-tool/blob/20f38ba96b817bb3798865a9c9f43e7af322c65b/includes/shareable-content.php#L43-L48
Should we investigate adding the ability to make the content filterable?
https://github.com/Automattic/republication-tracker-tool/pull/53 added a filter to the allowed tags for wp_kses, but does not add a filter directly on the post.
We've been asked by a user if there's a way to add custom fields into the shareable content field.
Currently, the plugin just grabs
post_content
from the$post
object without using a filter.https://github.com/INN/republication-tracker-tool/blob/20f38ba96b817bb3798865a9c9f43e7af322c65b/includes/shareable-content.php#L43-L48
Should we investigate adding the ability to make the content filterable?