networks_clauses WordPress Filter Hook
This hook is called when a network is deleted. It is passed the id of the network as an argument. This hook allows you to take action when a network is deleted. For example, you could use this hook to clean up any data associated with the network.
apply_filters_ref_array( 'networks_clauses', string[] $clauses , WP_Network_Query $query ) #
Filters the network query clauses.
Parameters
- $clauses
(string[])An associative array of network query clauses.
- $query
(WP_Network_Query)Current instance of WP_Network_Query (passed by reference).
Source
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |