クラス WP_Query::have_comments()
2014/12/16
WP_Query::have_comments()
定義ファイル :/blog/wp-includes/query.php 7
1 2 3 4 5 6 7 8 9 | public function have_comments() { if ( $this->current_comment + 1 < $this->comment_count ) { return true; } elseif ( $this->current_comment + 1 == $this->comment_count ) { $this->rewind_comments(); } return false; } |