Added country and type filter hooks

This commit is contained in:
champsupertramp
2015-11-21 18:32:04 +08:00
parent 91a1764080
commit 6f740598b4
+4
View File
@@ -919,6 +919,8 @@ class UM_Fields {
}
}
$type = apply_filters("um_hook_for_field_{$type}", $type );
/* Begin by field type */
switch( $type ) {
@@ -1457,6 +1459,8 @@ class UM_Fields {
}
if (!isset($options)){
$options = apply_filters("um_multiselect_options_{$data['type']}", $options, $data );
$options = $ultimatemember->builtin->get ( 'countries' );
}