wpmdb_pre_recursive_unserialize_replace

wpmdb_pre_recursive_unserialize_replace

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

See hook in core

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

apply_filters('wpmdb_pre_recursive_unserialize_replace') is found 1 times:

  • /class/Common/Replace.php line 615
         * @return mixed    The original array with all elements replaced as needed.
         */
        function recursive_unserialize_replace($data, $serialized = false, $parent_serialized = false, $filtered = true)
        {
            $pre = apply_filters('wpmdb_pre_recursive_unserialize_replace', false, $data, $this);
            if (false !== $pre) {
                return $pre;
            }
    
            //If the intent is find_replace we need to prefix the tables with the temp prefix and wp base table prefix.
            global $wpdb;