Inpsyde\MultilingualPress\SiteDuplication\SiteDuplicator::rename_user_roles_option PHP Метод

rename_user_roles_option() приватный Метод

Renames the user roles option according to the given table prefix.
private rename_user_roles_option ( string $table_prefix ) : void
$table_prefix string New table prefix.
Результат void
    private function rename_user_roles_option($table_prefix)
    {
        $this->db->update($this->db->options, ['option_name' => "{$this->db->prefix}user_roles"], ['option_name' => "{$table_prefix}user_roles"]);
    }