Answers for "get id of page wordpress"

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

Browse Popular Code Answers by Language