What does this code do?
-
Hello guys,
I’m trying to understand what this code does:
<?php $authors = $wpdb->get_results('SELECT DISTINCT post_author FROM '.$wpdb->posts); if($authors): foreach($authors as $author): ?>Would appreciate if you guys can explain it line by line.
Thanks a lot.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘What does this code do?’ is closed to new replies.