From 62df348438b4ff1fac8f75519bcb66ab67604aff Mon Sep 17 00:00:00 2001 From: Champ Camba Date: Tue, 17 Jan 2017 18:46:34 +0800 Subject: [PATCH] Fix um_get_field filter hook --- core/um-fields.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/um-fields.php b/core/um-fields.php index 38888474..56374aa7 100644 --- a/core/um-fields.php +++ b/core/um-fields.php @@ -1075,6 +1075,9 @@ class UM_Fields { if ( !isset( $array['visibility'] ) ) $array['visibility'] = 'all'; + $array = apply_filters("um_get_field__{$key}", $array ); + + return $array; }