Читать книгу Professional WordPress Plugin Development - Brad Williams - Страница 42

PLUGIN HEADER

Оглавление

For WordPress to recognize a plugin, the plugin's primary PHP file must have what's called a plugin header at the top of the file. This tells WordPress that this particular file is the file that it must load to your plugin. WordPress plugins can be and do anything, but this is the only hard requirement for a plugin to function.

Professional WordPress Plugin Development

Подняться наверх