I thought I could use the filter
the_title. But that let's you change the text only. I would like to disable the title link for specific pages. So the title text would stay the same, but the user wouldn't be able to click on it and get to the edit post page. I can think of two ways of doing this.
- Adding a class to disable the link via css.
- Disabling or removing the link vis JS.
Before going either route, I wanted to know if there's a filter that will accomplish that without having to resort to JS or css?
I have been searching the codex and hookr.io for filters , but I cannot find anything.