This function doing the same as shortcode [mdf_select_title] - getting Title text from the drop-down by its meta_key created in the meta data constructor.
|
1 |
<?php public static function get_val_as_select_title($post_id, $meta_key) ?> |
Example:
|
1 |
<?php $val=MetaDataFilter::get_val_as_select_title(139,'medafi_fashion'); ?> |
MDTF - WordPress Meta Data Filter & Taxonomies Filter