Function wp_attachment_has_shortcuts
Checks if a given attachment has already a shortcut in a given folder id or has generelly shortcuts.
Parameters summary
integer |
$postId |
The attachment id |
integer |
$fid = false |
The folder id, if false, it checks if there generelly exists shortcuts |