215 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 1 and 9 users
  • Sold between 100 and 1 000 dollars
  • United Kingdom
NuclearThemes says

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?

2429 posts
  • Has been a member for 4-5 years
  • Exclusive Author
  • Europe
  • Bought between 10 and 49 items
  • Referred between 100 and 199 users
  • Sold between 100 and 1 000 dollars
  • Microlancer Beta Tester
digitalimpact says

I have a pretty good imagination, but not that good :P

215 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 1 and 9 users
  • Sold between 100 and 1 000 dollars
  • United Kingdom
NuclearThemes says

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.

by
by
by
by
by
by