Ticket #8185: 8185.diff
| File 8185.diff, 665 bytes (added by , 6 years ago) |
|---|
-
src/bp-core/bp-core-attachments.php
483 483 * Defaults to 'cover-image' 484 484 * @type string $file The name of the file. 485 485 * } 486 * 487 * @param string $data type of data to fetch(url or path). 486 488 */ 487 $pre_filter = apply_filters( 'bp_attachments_pre_get_attachment', null, $r );489 $pre_filter = apply_filters( 'bp_attachments_pre_get_attachment', null, $r, $data ); 488 490 if ( $pre_filter !== null ) { 489 491 return $pre_filter; 490 492 }