/** * Setup object * * @return Fields_Admin_UI */ public static function setup() { if (!self::$instance) { self::$instance = new self(); } return self::$instance; }
function fields_ui_setup() { require_once FIELDS_ADMIN_UI_DIR . 'classes/class-fields-admin-ui.php'; $fields_ui = Fields_Admin_UI::setup(); }