I have a template named “Foo” in “foo.php”, I would like to be able to select all pages that are using that template. I have searched for awhile now but have not been able to find a successful way to do this… Can somebody enlighten me on the proper/only way to do this?
Share
You can get this by using following code