get_the_author_meta( $field, 0 ) returns the administrator birthdate

Question

Just discovered that the get_the_author_meta( ‘birth_date’, 0 ) returns the administrator birthdate. The same happens with other $field parameters for $user_id = 0. Is this an expected behavior for this function?

0
Iurie Malai 1 month 2021-08-25T07:49:56-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse