Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[WordPress] Basic Coding Standards via PSR-1
<?php
namespace TAN;
use TAN\Admin;
include_once( 'admin/class-toggle-admin-notices-node.php' );
include_once( 'admin/interfaces/interface-asset.php' );
include_once( 'admin/class-javascript-assets.php' );
add_action( 'plugins_loaded', __NAMESPACE__ . '\\tan_start' );
/**
* Initializes the JavaScript loader and the Administration Bar Node for
* rendering the option to toggle admin notices.
*/
function tan_start() {
// Code removed for brevity.
}
<?php
namespace TAN;
use TAN\Admin;
include_once 'inc/autoload.php';
add_action( 'plugins_loaded', __NAMESPACE__ . '\\tan_start' );
/**
* Initializes the JavaScript loader and the Administration Bar Node for
* rendering the option to toggle admin notices.
*/
function tan_start() {
// Code removed for brevity.
}
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.