Answers for "how to get wordpress page id"

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 "how to get wordpress page id"

Browse Popular Code Answers by Language