wppaste
WordPress

FileTypeEnum

Since
0.1.0
Source
wp-includes/php-ai-client/src/Files/Enums/FileTypeEnum.php:17
Represents the type of file storage.

Compatibility

WordPress
since 0.1.0
  • 6.7.7
  • 6.8.8
  • 6.9.7
  • 7.0.4
  • 7.1.0

Present in 2 of the 5 tracked releases, added in 0.1.0.

Source code

class FileTypeEnum extends AbstractEnum{    /**     * Inline file with base64-encoded data.     *     * @var string     */    public const INLINE = 'inline';    /**     * Remote file referenced by URL.     *     * @var string     */    public const REMOTE = 'remote';}

Changelog

Introduced in 0.1.0. Unchanged from 7.0.4 through 7.1.0.

  1. 7.0.4
  2. 7.1.0

Signature, return type and hooks compared across 2 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 7.1.0 tag, from src/wp-includes/php-ai-client/src/Files/Enums/FileTypeEnum.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.