How to use copy() function and paste file in /wp-content/themes directory

So I found the solution:

copy("http://localhost/medium/theme.zip", get_theme_root() . "/themenew.zip");

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)