- added ability to customize custom key sorting type (CHAR, NUMERIC, etc.)

- added ability to customize 'bio' key at the profile header;
- 2.1.3 pre-release;
This commit is contained in:
nikitasinelnikov
2020-01-20 10:39:40 +02:00
parent 03d1aaa162
commit 7841911413
8 changed files with 60 additions and 46 deletions
+11
View File
@@ -41,6 +41,17 @@ if ( ! class_exists( 'um\core\Profile' ) ) {
}
/**
* @param array $args
*
* @return string
*/
function get_show_bio_key( $args ) {
$key = apply_filters( 'um_profile_bio_key', 'description', $args );
return $key;
}
/**
* Delete profile avatar AJAX handler
*/