From 444bc74fdffb548aecd69e18e0a3a01f2e065077 Mon Sep 17 00:00:00 2001 From: champsupertramp Date: Thu, 25 Feb 2016 13:33:08 +0800 Subject: [PATCH] Add new filter for display field --- core/um-fields.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/um-fields.php b/core/um-fields.php index 104dc46e..82abf4b8 100644 --- a/core/um-fields.php +++ b/core/um-fields.php @@ -2175,6 +2175,8 @@ class UM_Fields { // Custom filter for field output if ( isset( $this->set_mode ) ) { $output = apply_filters("um_{$key}_form_show_field", $output, $this->set_mode); + $output = apply_filters("um_{$type}_form_show_field", $output, $this->set_mode); + } return $output;