I’m creating a shortcode at the moment and have a filtering problem. The shortcode fetches an email address but is displayed with no @ etc.
Does anyone have a solution to get it to display properly?
I have a pretty good imagination, but not that good
Haha should have elaborated more. I was able to solve it anyway.
I was doing a plugin that has the user type in an email address and it checks if their is a user registered with that email and if so, brings up details about them. It also included a shortcode to display a form on the front end.
I can’t imagine why such a tool would be necessary but a request is a request.
I came to the conclusion WP was deciding to format the username if it showed an email address when displayed through a shortcode. In the end it was just a mistake in retrieving the details. I was using nicename instead of display name.