i understand that add_role() and wp_insert_user() should be added in register_activation_hook() . but i need to add it via mu-plugins, so there's no activation ...
確定! 回上一頁