# my-wp/1.14/shortcode/class.shortcode.php

My WP Customize Admin/Frontend, version 1.14. 40 lines.

- Page: https://pluginprobe.com/plugins/my-wp/1.14/code/shortcode/class.shortcode.php
- Raw: https://pluginprobe.com/plugins/my-wp/1.14/raw/shortcode/class.shortcode.php
- Modified: 2017-02-18T01:23:48+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/my-wp/1.14/code/shortcode/class.shortcode.php#L10-L20`.

```php
<?php

if ( ! defined( 'ABSPATH' ) ) {
  exit;
}

if ( ! class_exists( 'MywpShortcode' ) ) :

final class MywpShortcode {

  private static $instance;

  private function __construct() {}

  public static function get_instance() {

    if ( !isset( self::$instance ) ) {

      self::$instance = new self();

    }

    return self::$instance;

  }

  private function __clone() {}

  private function __wakeup() {}

  public static function get_shortcodes() {

    return apply_filters( 'mywp_shortcode' , array() );

  }

}

endif;

```
