1You can get that using the following methods:
23<?php$post_slug = get_post_field( 'post_name', get_post() ); ?>4Or You can usethiseasycode:
56<?php7global $post;
8$post_slug = $post->post_name;
9?>
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content