/**
  * Return an instance of this class.
  *
  * @since     1.0.0
  *
  * @return    object    A single instance of this class.
  */
 public static function get_instance()
 {
     /*
      * - Uncomment following lines if the admin class should only be available for super admins
      */
     /* if( ! is_super_admin() ) {
     			return;
     		} */
     // If the single instance hasn't been set, set it now.
     if (null == self::$instance) {
         self::$instance = new self();
     }
     return self::$instance;
 }
Example #2
0
	<div id="poststuff">
		<div id="post-body" class="metabox-holder columns-2">

			<!-- main content -->
			<div id="post-body-content">

				<div class="meta-box-sortables ui-sortable1">
					<div class="postbox">
						<div class="inside">
							<p>
								Generated CSS code by WPCustomizer PRO is below. <br>
								Disabled code is wrapped in CSS comments tag <strong>/* ... */</strong> <br>
								To modify this code please use <strong>front-end live editor &rarr; history</strong></p>
							<textarea class="css-code-preview"  readonly><?php 
echo Visual_Styler_Admin::get_final_css_code();
?>
</textarea>
						</div>
					</div>
				</div>
			</div>
			<!-- end main content -->

			<!-- sidebar -->
			<?php 
include_once '_sidebar-right.php';
?>
			<!-- end sidebar -->

		</div>