Function wp_attachment_get_shortcuts
Checks if a given attachment ID has shortcut and returns the shortcut IDs as array.
Returns:
mixed
Located at attachment.php
Located at attachment.php
Parameters summary
integer |
$postId |
The attachment id |
integer |
$fid = false |
The folder id, if false, it checks if there generelly exists shortcuts |
boolean |
$extended = false |
If true the result is an array with all informations about the associated folder |