Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wordpress get post id

// Retrieve the ID of the current item in the WordPress Loop.
get_the_ID()
Source by developer.wordpress.org #
 
PREVIOUS NEXT
Tagged: #wordpress #post #id
ADD COMMENT
Topic
Name
5+2 =