Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Programmatic Hooks For Hashtags

$
0
0

Replies: 0

Hi,

I’ve got a client who is thinking about using this plugin however when they publish to social media they want to be able to add hashtags to their posts and they don’t want to have to type these manually every time in the “Message format for posting” box that appears at the bottom of every post.

What they would ideally like is an additional placeholder, for example “{POST_TAGS}” that can take the tags they have entered for the post in the WordPress tags section and convert them to hashtags. So for example if your WordPress tags are “Apple”, “Tim Cook”, and “2020 Macbook” then the hashtags would be “#Apple”, “#TimCook”, and “#2020Macbook”.

I was looking to see if I could add something like this myself but the plugin doesn’t look to have any programmatic hooks built in (at least not in the relevant places.

Would it be possible to either add this functionality or add a hook at the end of all the string replacements so that I can create my own tag and replace it?

Thanks


Viewing all articles
Browse latest Browse all 59525

Trending Articles