wpmdb_replace_destination_protocol

wpmdb_replace_destination_protocol

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

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

apply_filters('wpmdb_replace_destination_protocol') is found 1 times:

  • /class/Common/Replace.php line 496
             *
             * @param bool true                   If the replace should be skipped.
             * @param string $destination_url The URL of the target site.
             */
            $do_protocol_replace = apply_filters('wpmdb_replace_destination_protocol', true, $destination_url);
    
            if (true !== $do_protocol_replace) {
                return $new;
            }
    
            $parsed_destination = Util::parse_url($destination_url);