Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function showPost($id, $show){
- $get = get_post($id)->$show;
- echo $get;
- }
- //wywołanie
- <?php
- showPost(183, 'post_content')
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement