get id by url wordpress code example
Example: get id by url wordpress
// https://developer.wordpress.org/reference/functions/url_to_postid/
url_to_postid( string $url )
// https://developer.wordpress.org/reference/functions/url_to_postid/
url_to_postid( string $url )