Answers for "get WordPress page id in PHP"

PHP
0

get the current page id in wordpress

$page_id = get_queried_object_id();
Posted by: Guest on September-03-2020
0

get wordpress id

echo get_the_ID();
Posted by: Guest on June-09-2020

Code answers related to "get WordPress page id in PHP"

Browse Popular Code Answers by Language