* a valid user id. * * See below for default implementation. * * @var String */ public static $getBlueprintUserId; } /** * Initialize an editor * * @return Integer - User Id */ Config::$getBlueprintUserId = function () { $clone_from = get_users(array('role' => 'administrator')); if (!empty($clone_from)) { return $clone_from[0]->ID; } }; /** * Clone meta box order on the fly, i.e., without * actually changing any user settings. * * Originally based on work & ideas by: * * http://gist.github.com/franz-josef-kaiser/9100450 * http://wordpress.stackexchange.com/a/144608 * http://wordpress.stackexchange.com/a/19972 */ class MetaBoxOrder { /**