in_the_loop ( No parameters )

  • (bool) True if caller is within loop, false if loop hasn't started or ended.
Defined at:


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.

Related Functions

wp_find_hierarchy_loop, signup_another_blog, install_themes_upload, _n_noop, get_theme_root

Top Google Results

User discussions

wpseek mobile