Changeset 13371 for trunk/src/bp-core/deprecated/11.0.php
- Timestamp:
- 11/23/2022 10:22:42 AM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/deprecated/11.0.php
r13303 r13371 77 77 return array(); 78 78 } 79 80 /** 81 * Returns a file's mime type. 82 * 83 * @since 10.2.0 84 * @deprecated 11.0.0 replaced by `bp_attachments_get_mime_type()` 85 * 86 * @param string $file Absolute path of a file or directory. 87 * @return false|string False if the mime type is not supported by WordPress. 88 * The mime type of a file or 'directory' for a directory. 89 */ 90 function bp_attachements_get_mime_type( $file = '' ) { 91 _deprecated_function( __FUNCTION__, '11.0.0', 'bp_attachments_get_mime_type()' ); 92 return bp_attachments_get_mime_type( $file ); 93 }
Note: See TracChangeset
for help on using the changeset viewer.