public get_meta_field ( string $field_name ) : mixed | ||
$field_name | string | |
리턴 | mixed |
public function get_meta_field($field_name)
{
$value = null;
$value = apply_filters('timber_user_get_meta_field_pre', $value, $this->ID, $field_name, $this);
if ($value === null) {
$value = get_user_meta($this->ID, $field_name, true);
}
$value = apply_filters('timber_user_get_meta_field', $value, $this->ID, $field_name, $this);
return $value;
}