in_the_loop()
最后更新于:2021-11-27 07:43:31
in_the_loop()
Determines whether the caller is in the Loop.
响应
(bool) True if caller is within loop, false if loop hasn’t started or ended.
源文件
文件: gc-includes/query.php
function in_the_loop() {
global $gc_query;
return $gc_query->in_the_loop;
}