Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
12bit simple plugin
Plugin Name: 12bit Simple Plugin
Plugin URI:
Description: Used for testing purpose.
Version: 1.0.0
Author URI:
License: GPLv2 or later
Text Domain: 12bit
class Simple_Plugin_12Bit
private static $_instance;
public $author_name = '';
public static function get_instance() {
if ( ! is_null( self::$_instance ) ) {
self::$_instance = new self();
return self::$_instance;
public function __construct() {
public function set_author_name( $author_name ) {
$this->author_name = $author_name;
public function get_author_name() {
return $this->author_name;
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.