I suggest you ...

To add some add some hooks and filters so it can be used by plugins

Thank you for your great plugin. We have a WordPress plugin that shares file and folders in multisite and it doesn’t need to be copied for every child site.
I wanted to suggest that it will be great if developers can filter files and configuration via WP hooks. Specially in copying files.
I’m referring a hook or filter in ns_recursive_dir_copy() where:
foreach ($files as $file){
if ($file != “.” && $file != “..” && $file != ‘sites’){
$num = ns_recursive_dir_copy(“$src/$file”, “$dst/$file”, $num);
}
}
so it can be filtered with hook via our plugin.
Thanks in advance.

6 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Aaron S shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • Aaron S commented  ·   ·  Flag as inappropriate

        I just wanted to add that we will be greatly appreciated if you notify us in case this feature is added to NS Cloner so we implement it ASAP.

        Thanks ;)

      Feedback and Knowledge Base