Skip to content

Instantly share code, notes, and snippets.

@tommcfarlin tommcfarlin/00-acme-plugin.php Secret
Created Mar 11, 2019

What would you like to do?
[WordPress] Suggestions for Organizing Procedural Code
* Plugin Name: Acme Plugin
* Plugin URI:
* Description: This is the plugin description.
* Version: 1.0.0
* Author: Acme Plugins Co.
* Author URI:
* License: GPL-3.0+
* License URI:
* @since 1.0.0
* @package Acme
namespace Acme;
defined( 'WPINC' ) || die;
// Include the custom autoloader.
require_once __DIR__ . '/inc/autoload.php';
// Include action and filters.
require_once __DIR__ . '/inc/actions.php';
require_once __DIR__ . '/inc/filters.php';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.