Changeset 11289
- Timestamp:
- 12/12/2016 09:35:32 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-attachments.php
r11091 r11289 513 513 * 514 514 * @param bool $value Whether or not to delete the BuddyPress attachment. 515 * @param arrayArray of arguments for the attachment deletion.515 ` * @param array $args Array of arguments for the attachment deletion. 516 516 */ 517 517 if ( ! apply_filters( 'bp_attachments_pre_delete_file', true, $args ) ) { … … 950 950 * 951 951 * @param string $component The component to get the settings for ("xprofile" for user or "groups"). 952 * @return array The cover image settings.952 * @return array|bool The cover image settings in array, false on failure. 953 953 */ 954 954 function bp_attachments_get_cover_image_settings( $component = 'xprofile' ) { … … 1001 1001 * 1002 1002 * @param string $component The BuddyPress component concerned ("xprofile" for user or "groups"). 1003 * @return array An associative array containing the advised width and height for the cover image.1003 * @return array|bool An associative array containing the advised width and height for the cover image. False if settings are empty. 1004 1004 */ 1005 1005 function bp_attachments_get_cover_image_dimensions( $component = 'xprofile' ) { … … 1186 1186 * @since 2.4.0 1187 1187 * 1188 * @return string|null A json object containing success data if the upload succeeded 1188 * @return string|null A json object containing success data if the upload succeeded, 1189 1189 * error message otherwise. 1190 1190 */
Note: See TracChangeset
for help on using the changeset viewer.