WP_Term_Query::parse_orderby_meta

SummerySummery

Generate the ORDER BY clause for an ‘orderby’ param that is potentially related to a meta query.

Syntax

WP_Term_Query::parse_orderby_meta( string $orderby_raw )

ParametersParameters

$orderby_raw

(string) (Required) Raw 'orderby' value passed to WP_Term_Query.

ReturnReturn

(string) ORDER BY clause.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
4.6.0 Introduced.
Scroll to Top