wpmdb_recursive_scan_bottleneck

wpmdb_recursive_scan_bottleneck

Hook Type: filter

See hook in core

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

apply_filters('wpmdb_recursive_scan_bottleneck') is found 2 times:

  • /class/Common/Filesystem/RecursiveScanner.php line 252
         * @return bool
         */
        public function reached_bottleneck()
        {
            $bottleneck = apply_filters('wpmdb_recursive_scan_bottleneck', self::BOTTLENECK);
            return $this->scan_count >= $bottleneck && $this->is_enabled();
        }
    
        /**
         * @param string[] $excludes
         */
    
  • /class/Common/Filesystem/RecursiveScanner.php line 499
         * @return int
         */
        private function get_bottleneck()
        {
            $bottleneck = apply_filters('wpmdb_recursive_scan_bottleneck', self::BOTTLENECK);
            return $this->is_enabled() ? $bottleneck - $this->scan_count : -1;
        }
    
        /**
         * Tests exclusion of a specific path.
         *