daily pastebin goal
67%
SHARE
TWEET

Untitled

a guest Jul 12th, 2015 149 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function showPost($id, $show){
  2.         $get = get_post($id)->$show;
  3.         echo $get;
  4. }
  5.  
  6. //wywołanie
  7. <?php
  8.         showPost(183, 'post_content')
  9. ?>
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