Why is a renamed custom template file still showing up in the template dropdown menu?

I recently renamed a custom template file, changing it from template-programs.php to template-program-schedule.php.

In my template dropdown menu, Program Schedule shows up as expected, but Programs is also still there.

I have cleared all caches and hard refreshed the browser, but it still shows up.

I've tested the template dropdown functionality by creating dummy template files, which always appear in the dropdown menu after creation and then disappear as expected when deleted, but Programs remains in the list.

I searched throughout the whole website directory, and there is no template-programs.php file anywhere.

Can a template listing be generated by a plugin or some other means without there being a respective template file?

How can I remove this template dropdown listing and/or track its source? Or, is it possible to flush and rebuild the template dropdown menu?

Topic page-attributes page-template Wordpress

Category Web


Scan the files for a comment header that might have Template Name: Programs present. The template drop-down is populated by the comment header in files. I believe this is only true for files in the theme's root folder and from a template sub-folder within the theme (if one exists).

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.