mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-18 14:13:46 +09:00
- 2.0.49 release;
This commit is contained in:
@@ -1225,8 +1225,16 @@ if ( ! class_exists( 'um\core\Builtin' ) ) {
|
||||
*/
|
||||
function all_user_fields( $exclude_types = null, $show_all = false ) {
|
||||
|
||||
$fields_without_metakey = array('block','shortcode','spacing','divider','group');
|
||||
remove_filter('um_fields_without_metakey', 'um_user_tags_requires_no_metakey');
|
||||
$fields_without_metakey = array(
|
||||
'block',
|
||||
'shortcode',
|
||||
'spacing',
|
||||
'divider',
|
||||
'group'
|
||||
);
|
||||
$fields_without_metakey = apply_filters( 'um_fields_without_metakey', $fields_without_metakey );
|
||||
|
||||
remove_filter( 'um_fields_without_metakey', 'um_user_tags_requires_no_metakey' );
|
||||
|
||||
/**
|
||||
* UM hook
|
||||
|
||||
Reference in New Issue
Block a user