Answers for "how to get page id in wordpress functions.php"

PHP
0

get the current page id in wordpress

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

Code answers related to "how to get page id in wordpress functions.php"

Browse Popular Code Answers by Language