in_the_loop ( No parameters )
- (bool) True if caller is within loop, false if loop hasn't started or ended.
- Introduced in WordPress: 2.0.0
- Deprecated in WordPress: —
Determines whether the caller is in the Loop.For more information on this and similar theme functions, check out
the [Conditional Tags](https://developer.wordpress.org/themes/basics/conditional-tags/) article in the Theme Developer Handbook.