WP_Term_Query::parse_orderby

SummerySummery

Parse and sanitize ‘orderby’ keys passed to the term query.

Syntax

WP_Term_Query::parse_orderby( string $orderby_raw )

ParametersParameters

$orderby_raw

(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-term-query.php


			

ChangelogChangelog

Changelog
Version Description
4.6.0 Introduced.
Scroll to Top