WP HOOKS
filtrreferencjaod 4.6.0

networks_clauses

Args 1Plik wp-includes/class-wp-network-query.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the network query clauses.

Parametry

ParametrTypOpis
$clausesstring[]{ Associative array of the clauses for the query. @type string $fields The SELECT clause of the query. @type string $join The JOIN clause of the query. @type string $where The WHERE clause of the query. @type string $orderby The ORDER BY clause of the query. @type string $limits The LIMIT clause of the query. @type string $groupby The GROUP BY clause of the query. }
$query\WP_Network_QueryCurrent instance of WP_Network_Query (passed by reference).

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'networks_clauses', 'twoja_funkcja' );

function twoja_funkcja($param_1) {
	// Twój kod
}

Popularne w tej kategorii