WordPress.org

Ready to get started?Download WordPress

Forums

Posts 2 Posts
[resolved] When post type isn't showed up in ui then no link in metabox (2 posts)

  1. Marko Heijnen
    Member
    Posted 2 years ago #

    When there is a relationship with a post type that isn't visible in the admin then the link to the edit screen should be removed.

    It's not a case you see often but it can occur. It maybe make sense to make a filter for it so someone can say that there is an edit screen but somewhere else.

    http://wordpress.org/extend/plugins/posts-to-posts/

  2. scribu
    Member
    Plugin Author

    Posted 2 years ago #

    The P2P box uses get_edit_post_link(), so you can hook into the 'get_edit_post_link' filter to change this globally. To disable links, you could just return '#'.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.