mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Revert "Add new filter hook 'um_fields_options_enable_pairs__{$key}'"
This reverts commit 63a5c9dcb4.
This commit is contained in:
@@ -1885,8 +1885,6 @@
|
||||
|
||||
$output .= '<select ' . $disabled . ' ' . $select_original_option_value . ' ' . $disabled_by_parent_option . ' name="' . $form_key . '" id="' . $form_key . '" data-validate="' . $validate . '" data-key="' . $key . '" class="' . $this->get_class( $key, $data, $class ) . '" style="width: 100%" data-placeholder="' . $placeholder . '" ' . $atts_ajax . '>';
|
||||
|
||||
$enable_options_pair = apply_filters("um_fields_options_enable_pairs__{$key}", false );
|
||||
|
||||
if( ! $has_parent_option ){
|
||||
if ( isset($options) && $options == 'builtin'){
|
||||
$options = UM()->builtin()->get ( $filter );
|
||||
|
||||
Reference in New Issue
Block a user