Answers for "how to get id on the basis of slug in wp"

PHP
0

wp get post id by slug

url_to_postid( site_url('the_slug') );
Posted by: Guest on June-29-2021

Browse Popular Code Answers by Language