Merge branch 'development/2.6.5' into fix/remove_extract_frontend

This commit is contained in:
Mykyta Synelnikov
2023-06-27 16:08:09 +03:00
committed by GitHub
24 changed files with 1725 additions and 1723 deletions
+5 -8
View File
@@ -343,21 +343,18 @@ if ( ! class_exists( 'um\core\Query' ) ) {
update_post_meta( $post_id, '_um_' . $key, $new_value );
}
/**
* Get data
* Get postmeta related to Ultimate Member.
*
* @param $key
* @param $post_id
* @param string $key
* @param int $post_id
*
* @return mixed
*/
function get_attr( $key, $post_id ) {
$meta = get_post_meta( $post_id, '_um_' . $key, true );
return $meta;
public function get_attr( $key, $post_id ) {
return get_post_meta( $post_id, '_um_' . $key, true );
}
/**
* Delete data
*