Posted By

mzym on 09/22/09


Tagged

wordpress functions


Versions (?)

WordPress PageID


 / Published in: PHP
 

  1. global $post;
  2. setup_postdata($post);
  3. $page_id=get_the_ID();

Report this snippet  

You need to login to post a comment.