Version 1.0.21

This commit is contained in:
ultimatemember
2015-01-24 23:39:43 +02:00
parent 63820a8ad8
commit 2c3cf6ea8c
22 changed files with 468 additions and 43 deletions
+1 -2
View File
@@ -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_') ) {