How Does Wordpress Read Comment Title?

Assotsroomy

New Member
I'm working on my own little back end framework for future clients and I'm making a folder named "Forms" to store all of my forms for CMS interaction. Inside the forms folder I'd like to store .php files similar to wordpress style plugins that I can title in the comments code like wp does... ie\[code\]/*Plugin Name: Name Of The PluginDescription: A brief description of the Plugin.Version: The Plugin's Version Number, e.g.: 1.0Author: Name Of The Plugin AuthorAuthor URI: http://URI_Of_The_Plugin_Author*/\[/code\]I'm wondering how WP reads that data as it is commented out... do they use file_get_contents('plugin.php'); and parse it as well as include the plugin? Is there a php function to actually read comments? Thoughts?
 
Back
Top