in_the_loop
in_the_loop ( No parameters )
Returns:- (bool) True if caller is within loop, false if loop hasn't started or ended.
Defined at: - Introduced in WordPress: 2.0.0
- Deprecated in WordPress: —
Description
Determines whether the caller is in the Loop.For more information on this and similar theme functions, check out
the {@link Conditional Tags} article in the Theme Developer Handbook.