load_image_to_edit_path

load_image_to_edit_path

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('load_image_to_edit_path') is found 1 times:

  • /wp-admin/includes/image.php line 1255
    1251
    1252
    1253
    1254
    1255
    1256
    1257
    1258
    1259
    1260
    1261
         * @param int          $attachment_id Attachment ID.
         * @param string|int[] $size          Requested image size. Can be any registered image size name, or
         *                                    an array of width and height values in pixels (in that order).
         */
        return apply_filters( 'load_image_to_edit_path', $filepath, $attachment_id, $size );
    }
     
    /**
     * Copies an existing image file.
     *
     * @since 3.4.0