user_id
-
Let me star this by saying thank you for creating this piece of plugin. It somehow makes my live easier.
I do however face a problem. I’m not the best at editing PHP code, although I do know the basics. I am using a booking plugin that is supporting CF7, but I can’t seem to edit the code to include user_id for the booking. The author of the plugin support saving a custom field which I it seems like I need to use for this purpose. The easy way would be:
<p><label for=”custom-field1″>User ID</label>[text* custom-field1 class:wbk-text id:custom-field1 default:current_user_id]</p>
And then hide this field text field, so the user would not know it’s there. It’s only used for internal use, so I can accept this way of doing it.But there is no such “default” value to get. Do you have any idea of how I will be able to get “current_user_id”?
- The topic ‘user_id’ is closed to new replies.