ID; // You can set $user_id to any users, but this gets the current users ID. $beTubeEdit = $redux_demo['edit']; $pagepermalink = get_permalink($post->ID); $beTubeprofile = $redux_demo['profile']; $beTubeallVideos = $redux_demo['all-ads']; $beTubeallFavourite = $redux_demo['all-favourite']; $beTubenewPost = $redux_demo['new_post']; if(isset($_POST['follower'])){ $author_id = $_POST['author_id']; $follower_id = $_POST['follower_id']; echo betube_authors_insert($author_id, $follower_id); } if(isset($_POST['unfollow'])){ $author_id = $_POST['author_id']; $follower_id = $_POST['follower_id']; echo betube_authors_unfollow($author_id, $follower_id); } if(isset($_POST['favorite'])){ $author_id = $_POST['author_id']; $post_id = $_POST['post_id']; echo betube_favorite_insert($author_id, $post_id); } ?> ID); $current_page_id = $page->ID; $betubeProfileIMG = get_user_meta($user_ID, "betube_author_profile_bg", true); if(!empty($betubeProfileIMG)){ $betubeProfileIMG = betube_get_image_url($betubeProfileIMG); } ?>

author
0 0 0
...

:

ID; echo betubeAllFollowers($userID); ?>

ID; echo betubeAllFollowing($userID); ?>