tobiasehlert/wp-sms-46elks

User metadata field hard-coded to "cellphone" ?

JesperWe opened this issue · 3 comments

I'm trying to get this plugin working, but it seems it is locked to using the user meta-data field cellphone for phone numbers.

As our user database has mobile_number for this information we cannot send anything...

Any chance making it configurable?

Hi @JesperWe,

Good suggestion by you!

I am thinking of how this could be implemented the best..
A free-text field where you add that value?
Maybe better with a dropdown showing all available meta-data fieds?

Regards,
Tobias

I would prefer a free text field. In a production wordpress install there are tons of weird metadata keys that you don't know what they are and probably don't want to present.

Good point there @JesperWe.
I'll look into this and update this issue, when there is an implementation in place :)