<?php
include(ABSPATH . 'wp-admin/includes/ms.php');
$user = get_userdatabylogin('YOUR_USERNAME');
grant_super_admin($user->ID);
?>
출처: https://gist.github.com/MikeNGarrett/080bad66e500e46fa969
사소한 이야기를 디지털 기록으로
<?php
include(ABSPATH . 'wp-admin/includes/ms.php');
$user = get_userdatabylogin('YOUR_USERNAME');
grant_super_admin($user->ID);
?>
출처: https://gist.github.com/MikeNGarrett/080bad66e500e46fa969
작성자
태그: