Get post for current user only… error!!!
-
Hi.
This code does not work any longer, any idea?
<?php global $current_user; wp_get_current_user(); ?> <?php if ( is_user_logged_in() ) { $getUsername = $current_user->user_login; echo do_shortcode('[ninja_tables id="Table ID Here" filter=" ' . $getUsername . '" ] '); } ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Get post for current user only… error!!!’ is closed to new replies.