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).


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.