Get Id By Url WordPress

// https://developer.wordpress.org/reference/functions/url_to_postid/
url_to_postid( string $url )

Leave a Comment