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:

Description

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.

Related Functions

wp_find_hierarchy_loop, signup_another_blog, install_themes_upload, _n_noop, get_theme_root

Top Google Results

User discussions

wpseek mobile