do_action( 'loop_no_results', WP_Query $query )

Fires if no results are found in a post query.


Parameters

$query WP_Query
The WP_Query instance.

Top ↑

Source

File: wp-includes/class-wp-query.php. View all references

do_action( 'loop_no_results', $this );


Top ↑

Changelog

Changelog
Version Description
4.9.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.