Answers for "get page id by name in 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 id by url wordpress

// https://developer.wordpress.org/reference/functions/url_to_postid/
url_to_postid( string $url )
Posted by: Guest on April-09-2021

Code answers related to "get page id by name in wordpress"

Browse Popular Code Answers by Language