do_action( 'loop_no_results', WP_Query $query )
Fires if no results are found in a post query.
Parameters
- $query
-
The WP_Query instance.
Source
Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |
Fires if no results are found in a post query.
The WP_Query instance.
Version | Description |
---|---|
4.9.0 | Introduced. |