add_link_attributes not fireing on RESt-Calls
-
Dear Rank-Mathematicians,
we noticed that the feature “open external links in new tab/window” won’t be applied to REST-API-Calls of posts.
The reasons seems to be, that the
Link_Attributes
-class constructor hooks in via thewp
-action, which doesnt seem to be fired during Rest-API-Calls.Is that behavior intended?
Changing the hook from
wp
toinit
orplugins_loaded
solves the problem.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘add_link_attributes not fireing on RESt-Calls’ is closed to new replies.