wpmdb_transfers_temp_dir

wpmdb_transfers_temp_dir

Hook Type: filter

See hook in core

Displaying hooks found in version: wp-migrate-db.2.6.9

apply_filters('wpmdb_transfers_temp_dir') is found 1 times:

  • /class/Common/Transfers/Files/Util.php line 782
         * @return bool|mixed|void
         */
        public static function get_temp_dir($stage) {
            $temp_dir = Common_Util::get_stage_base_dir($stage) . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR;
            return apply_filters('wpmdb_transfers_temp_dir', $temp_dir);
        }
    
        /**
         * Sanitizes a provided file path.
         * If the filename includes a path, it will get split and only the last part will be sanitized.
         *