SHARE
TWEET

Shortcode User ID untuk KodeUnik

pustakakoran Apr 14th, 2017 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function kodeunik_func() {
  2.     ob_start();
  3.     $kodeunik = wp_get_current_user();
  4.     echo '' . $kodeunik->ID . '';
  5.     $output = ob_get_clean();
  6.     return $output;
  7. }
  8. add_shortcode('kodeunik', 'kodeunik_func');
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top