1
0
Fork 0

Add the attachments to the $item for the prepare_body_content_filter hook

- Allows filtering on attachments that are added later to the post content
This commit is contained in:
Hypolite Petovan 2021-08-16 05:28:08 -04:00
commit 7082582655
2 changed files with 3 additions and 1 deletions

View file

@ -534,7 +534,7 @@ class Media
*
* @param int $uri_id
* @param string $guid
* @param array $links ist of links that shouldn't be added
* @param array $links list of links that shouldn't be added
* @return array attachments
*/
public static function splitAttachments(int $uri_id, string $guid = '', array $links = [])