Member directory settings and filters

This commit is contained in:
ultimatemember
2015-01-10 00:59:09 +02:00
parent 53a1cd28e8
commit 74cde599e1
15 changed files with 88 additions and 94 deletions
+1
View File
@@ -277,6 +277,7 @@ class UM_Admin_Metabox {
delete_post_meta( $post_id, '_um_tagline_fields' );
delete_post_meta( $post_id, '_um_reveal_fields' );
delete_post_meta( $post_id, '_um_search_fields' );
delete_post_meta( $post_id, '_um_roles_can_search' );
foreach( $_POST as $k => $v ) {
if (strstr($k, '_um_')){
update_post_meta( $post_id, $k, $v);