WP_Network_Query::parse_orderby

SummerySummery

Parses and sanitizes ‘orderby’ keys passed to the network query.

Syntax

WP_Network_Query::parse_orderby( string $orderby )

ParametersParameters

$orderby

(string) (Required) Alias for the field to order by.

ReturnReturn

(string|false) Value to used in the ORDER clause. False otherwise.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
4.6.0 Introduced.
Scroll to Top