Update Ultimate Member to version 2.10.6

This release adds multiple enhancements, including WebP support, new filter hooks, license debugging, and improved extension upgrades. It also fixes issues like numeric field filtering, profile link handling, and dependencies with Action Scheduler. Cached assets should be regenerated post-upgrade.
This commit is contained in:
Mykyta Synelnikov
2025-09-27 11:17:08 +03:00
parent 6eca660d19
commit 1d4d1e4f2f
3 changed files with 48 additions and 3 deletions
+12 -1
View File
@@ -63,7 +63,18 @@ class Pages {
$query_args['post__not_in'] = $predefined_ids;
}
}
// since 2.10.6
/**
* Filters WP_Query arguments for getting pages visible in the dropdown fields in UM Settings.
*
* @since 2.10.6
* @hook um_admin_settings_get_pages_list_args
*
* @param {array} $query_args Get pages WP_Query arguments.
* @param {string} $field_id Dropdown field ID.
*
* @return {array} Get pages WP_Query arguments.
*/
$query_args = apply_filters( 'um_admin_settings_get_pages_list_args', $query_args, $field_id );
$search_results = new WP_Query( $query_args );