load_image_to_edit_attachmenturl

load_image_to_edit_attachmenturl

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('load_image_to_edit_attachmenturl') is found 1 times:

  • /wp-admin/includes/image.php line 1242
    1238
    1239
    1240
    1241
    1242
    1243
    1244
    1245
    1246
    1247
    1248
         * @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).
         */
        $filepath = apply_filters( 'load_image_to_edit_attachmenturl', wp_get_attachment_url( $attachment_id ), $attachment_id, $size );
    }
     
    /**
     * Filters the returned path or URL of the current image.
     *
     * @since 2.9.0