Function wp_attachment_has_shortcuts
Checks if a given attachment has already a shortcut in a given folder id or has generelly shortcuts.
Returns:
boolean
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 |