I am using plain text format. I want to create an input filter for when a user enters #15, it should be converted to a link pointing to the post #15. I want to do this for the Statuses (Social Microblog) module. The link of an individual status is like this: https://www.example.com/statuses/15
.
Just for your reference, I found a snippet. It is specifically for nodes though, which was meant to be used with custom filter module.
My question: How to create such filter for statuses?