the_author_meta()
is display function, it echoes the result to screen right where it’s called. To concatenate with string you need to use function that returns result – get_the_author_meta()
.
the_author_meta()
is display function, it echoes the result to screen right where it’s called. To concatenate with string you need to use function that returns result – get_the_author_meta()
.