Answers for "get page name wp"

PHP
0

get page name wp

$slug = basename(get_permalink());
//or
$wp_query->queried_object->post_name
Posted by: Guest on December-15-2020

Browse Popular Code Answers by Language