According to the WP_Class reference, $post->post_name
holds the value of the slug of the current page being viewed. If I'm currently viewing the WP admin edit screen for my homepage as set under Settings > Reading > Front page displays > A static page > Front page, what would be the value of $post->post_name
if I do the following?
global $post;
echo $post->post_name;
I wasn't aware my homepage had a slug. Would the value be an empty string? Hoping someone can help clarify. Thanks in advance.