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

apply_filters('load_image_to_edit_attachmenturl') is found 1 times:

  • /wp-admin/includes/image.php line 1242
    		 * @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