Support » Plugin: WP Webhooks » Prevent whitespace in user_login

  • Hello,

    I receive a “firstname” via Zapier and then use this for the user_login (+ some random number). I noticed that some customers enter a whitespace for their firstnames. Is it possible to remove this whitespace? Could you tell me how to do it?
    I also wonder why this is allowed for the user_login.

    Thanks for any help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ironikus


    Hey @quix8 – Thank you very much for your message.
    As you are using Zapier, you can use their formater to trim the spaces.
    Here’s further info about that:
    Do let me know in case you have any further questions.

    Thread Starter quix8


    ok thanks, but it looks like I can not use just the trim whitespace, because it says “Removes leading and trailing whitespace.”
    And what I want is to (also) remove the spaces in between. Or maybe I will just try it.

    • This reply was modified 3 months ago by quix8.
    Plugin Author Ironikus


    Hey @quix8 – Thanks for the answer. Their formatter should also allow you to replace certain values from what I know.
    Alternatively, in case you can’t make it work at all, we do also have a WordPress filter available which you can use to manipulate the string
    I hope this helps you so far. Do let me know if you need anything else.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.