WordPress.org

Make WordPress Core

Changeset 3754


Ignore:
Timestamp:
04/29/06 09:21:23 (8 years ago)
Author:
matt
Message:

add-a-hook

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-functions.php

    r3728 r3754  
    18911891    // Compute the URL 
    18921892    $url = $uploads['url'] . "/$filename"; 
    1893  
    1894     return array('file' => $new_file, 'url' => $url, 'type' => $type); 
     1893     
     1894    $return = apply_filters( 'wp_handle_upload', array('file' => $new_file, 'url' => $url, 'type' => $type) ); 
     1895 
     1896    return $return; 
    18951897} 
    18961898 
Note: See TracChangeset for help on using the changeset viewer.