Answers for "get current page slug"

PHP
-1

get current page slug

$slug = get_queried_object()->post_name;
Posted by: Guest on December-10-2020

Browse Popular Code Answers by Language