WP_Meta_Query::get_cast_for_type

SummerySummery

Return the appropriate alias for the given meta type if applicable.

Syntax

WP_Meta_Query::get_cast_for_type( string $type = '' )

ParametersParameters

$type

(string) (Optional) MySQL type to cast meta_value.

Default value: ''

ReturnReturn

(string) MySQL type.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
3.7.0 Introduced.
Scroll to Top