plugin development – Auto hyper link text matching slugs/pages

Question

Is there a way to automatically hyperlink a text without actually adding the link using the Insert Link feature of WordPress?

For example, I want to hyperlink HELLO WORLD and I click the insert link and add the HELLO WORLD text in the input box. Then the result should be a hyperlink redirecting to my https://website.com/hello-world

Currently, the result when I add text in the input box of the insert link is http://HELLO WORLD instead of https://website.com/hello-world.

Please let me know if it’s possible. Thanks!

0
Tom J Nowell 5 months 2022-07-23T10:43:00-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse