Tag: Object

WP User Object

WP User Object

To get an user object you can use this function: $user_id = 14; $user = get_user_by( ‘id’, $user_id ); where the first parameter can be: id | ID | slug | email | login of the user, and second: real user ID, slug, email address, or login name. // value of $user WP_User Object (…

Read More Read More

WP Comment Object

WP Comment Object

WP_Comment Object ( [comment_ID] => 5 [comment_post_ID] => 1665 [comment_author] => webbizdirect@gmail.com [comment_author_email] => webbizdirect@gmail.com [comment_author_url] => [comment_author_IP] => 192.168.42.7 [comment_date] => 2020-01-17 13:49:26 [comment_date_gmt] => 2020-01-17 13:49:26 [comment_content] => Zodra er een enquête beschikbaar is die bij jou past, ontvang je een e-mail. Je kunt dan zelf bepalen of je die enquête wel of…

Read More Read More