- add default sorting

This commit is contained in:
ashubawork
2023-05-23 18:25:53 +03:00
parent 0600627a67
commit 36268e85ba
4 changed files with 46 additions and 2 deletions
+2
View File
@@ -388,6 +388,8 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
}
update_post_meta( $directory_id, '_um_sortby_custom', '' );
update_post_meta( $directory_id, '_um_sortby_custom_label', '' );
update_post_meta( $directory_id, '_um_sortby_custom_type', '' );
update_post_meta( $directory_id, '_um_sortby_custom_order', '' );
}
}