This class is used for getting the user from the wordpress database
User.find(1).name
The above will find the user with id of 1 and retrieve their display name
Grab the email of the selected user
# File lib/wpb/user.rb, line 50 50: def email 51: user_email 52: end
Set the email of the selected user
# File lib/wpb/user.rb, line 57 57: def email= email 58: self.user_email = email 59: end
Grab the name of the selected user
# File lib/wpb/user.rb, line 22 22: def name 23: display_name 24: end
Set the name of the selected user
# File lib/wpb/user.rb, line 29 29: def name= name 30: self.display_name = name 31: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.