• When the plugin is activated, which plugin file is read first by WordPress?

    • This topic was modified 2 years, 7 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 1 replies (of 1 total)
  • Hi,
    It’s a PHP file with a plugin header comment.
    Bellow is a sample of header comment

    /**
     * Plugin Name:       My Basics Plugin
     * Plugin URI:        https://example.com/plugins/the-basics/
     * Description:       Handle the basics with this plugin.
     * Version:           1.10.3
     * Requires at least: 5.2
     * Requires PHP:      7.2
     * Author:            John Smith
     * Author URI:        https://author.example.com/
     * License:           GPL v2 or later
     * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
     * Update URI:        https://example.com/my-plugin/
     * Text Domain:       my-basics-plugin
     * Domain Path:       /languages
     */

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Connection of files in the plugin with each other’ is closed to new replies.