mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-18 14:13:46 +09:00
Version 1.0.21
This commit is contained in:
+1
-2
@@ -30,9 +30,8 @@ class UM_Access {
|
||||
/***
|
||||
*** @get meta
|
||||
***/
|
||||
function get_meta() {
|
||||
function get_meta( $post_id ) {
|
||||
global $post;
|
||||
$post_id = $post->ID;
|
||||
$meta = get_post_custom( $post_id );
|
||||
foreach ($meta as $k => $v){
|
||||
if ( strstr($k, '_um_') ) {
|
||||
|
||||
Reference in New Issue
Block a user