wpmdb_upload_info

wpmdb_upload_info

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

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

apply_filters('wpmdb_upload_info') is found 1 times:

  • /class/Common/Filesystem/Filesystem.php line 884
        function get_upload_info($type = 'path')
        {
            // @TODO - Don't grab Properties class here
            $props       = WPMDBDI::getInstance()->get(Properties::class);
            $upload_info = apply_filters('wpmdb_upload_info', array());
    
            // No need to create the directory structure since it should already exist.
            if (!empty($upload_info)) {
                return $upload_info[$type];
            }
    
    

See this hook used in plugins: