do_action( 'loop_no_results', WP_Query $this )

Fires if no results are found in a post query.


Parameters

$this

(WP_Query) The WP_Query instance.


Source

File: wp-includes/class-wp-query.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.9.0 Introduced.