Test for …
$item->object="custom"
This is used for custom links only. $item->object
is always the post type or the item type (category
for example). Not sure what happens when someone registers a custom post type named custom
🙂
Test for …
$item->object="custom"
This is used for custom links only. $item->object
is always the post type or the item type (category
for example). Not sure what happens when someone registers a custom post type named custom
🙂