• Hi, I want to set the default value for login user name, email, phone number and post title. I can call username and email which are already provided in the plugin site. Can you provide me how to get the phone number of current login user and current post title.

    The page I need help with: [log in to see the link]

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

    (@takayukister)

    Phone number and post title are not in the default user profile settings. How do you set those information?

    Thread Starter lwinko

    (@lwinko)

    Arr.. I see. Thank you for the reply. The phone number field is belong with the theme(houzez). If possible, is there a way to call another data from database(not from wp-user table), javascript or php function whatever. If there is function, can you tell me the location or guide me. Thank you..

    • This reply was modified 6 years, 4 months ago by lwinko.
    Plugin Author Takayuki Miyoshi

    (@takayukister)

    If the data is a property of a WP_User object and retrievable with its get() method, you can set the default value to the data by setting default:user_{property name} option like this:

    [tel* your-phone default:user_phone_number]
    (works if the property name is ‘phone_number’)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Login user phone number and post title’ is closed to new replies.