WordPress at a glance
action is not described

loop_no_results action-hook . WP 4.9.0

Fires if no results are found in a post query.

Использование

add_action( 'loop_no_results', 'action_function_name_8746' );
function action_function_name_8746( $this ){
	// action...
}
$this(WP_Query)
The WP_Query instance.

Changelog

Since 4.9.0 Introduced.

Where the hook is called

WP_Query::have_posts()
loop_no_results
wp-includes/class-wp-query.php 3348
do_action( 'loop_no_results', $this );

Where in WP core the hook is used WordPress

Usage not found.