I think im a bit over my head on this, but I have a wordpress function that i cant control and it outputs HTML.
It specifically outputs a <a>
tag. When i try to store that output into a variable it just echos out the anchor tag even though i thought i stored the output.
I talked to someone that knows more about this and they said the function probably is using its own output system.
Im wondering if there is a way to store the functions output before it echos it out. Like this(but this doesn't work):
$link = wp_function();
This echos out the tag and doesn't store the data.