PATH:
home
/
letacommog
/
aperobusiness
/
wp-content
/
themes
/
deep
/
inc
/
core
/
admin
/
meta-box
/
meta-box-core
/
inc
<?php /** * Storage registry class * * @package Meta Box */ /** * Class RWMB_Storage_Registry */ class RWMB_Storage_Registry { /** * List storage instances. * * @var array */ protected $storages = array(); /** * Get storage instance. * * @param string $class_name Storage class name. * @return RWMB_Storage_Interface */ public function get( $class_name ) { if ( empty( $this->storages[ $class_name ] ) ) { if ( ! class_exists( $class_name ) ) { return null; } $this->storages[ $class_name ] = new $class_name(); } return $this->storages[ $class_name ]; } }
[+]
..
[-] field.php
[edit]
[-] field-registry.php
[edit]
[-] wpml.php
[edit]
[+]
about
[+]
storages
[-] meta-box-registry.php
[edit]
[-] storage-registry.php
[edit]
[-] sanitizer.php
[edit]
[+]
templates
[+]
fields
[-] media-modal.php
[edit]
[+]
interfaces
[-] clone.php
[edit]
[-] autoloader.php
[edit]
[+]
walkers
[-] loader.php
[edit]
[-] validation.php
[edit]
[-] functions.php
[edit]
[-] core.php
[edit]
[-] meta-box.php
[edit]