From d4d57f420a8c48d02e045b20fa40f6e1d8cf6d71 Mon Sep 17 00:00:00 2001 From: champsupertramp Date: Sat, 21 Nov 2015 18:34:10 +0800 Subject: [PATCH] Revert "Added country and type filter hooks" This reverts commit 6f740598b44eee4c0ba8b44283e298d84ed21586. --- core/um-fields.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/um-fields.php b/core/um-fields.php index d26eb067..5e803a9a 100644 --- a/core/um-fields.php +++ b/core/um-fields.php @@ -919,8 +919,6 @@ class UM_Fields { } } - $type = apply_filters("um_hook_for_field_{$type}", $type ); - /* Begin by field type */ switch( $type ) { @@ -1459,8 +1457,6 @@ class UM_Fields { } if (!isset($options)){ - $options = apply_filters("um_multiselect_options_{$data['type']}", $options, $data ); - $options = $ultimatemember->builtin->get ( 'countries' ); }