WOOF_Post :: meta( String $meta_key, $single = false )
Returns:
-
String
The meta value, if single is true, or an empty string if there is no value for the given key.
-
WOOF_SimpleCollection of String
A collection of values in the field.
Retrieves the value or a collection of values for the given meta_key.
Note: It’s better to use the richer field and set methods in the MEOW classes when retrieving custom field values setup in MasterPress.
Parameters:
-
The key of the value to retrieve
-
$single = false
Whether to retrieve a single value or multiple values.