mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Merge branch 'development/2.6.5' into fix/remove_extract_frontend
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user