Support » Plugin: Posts 2 Posts » [Plugin: Posts 2 Posts] When post type isn't showed up in ui then no link in metabox

  • Resolved Marko Heijnen

    (@markoheijnen)


    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/

Viewing 1 replies (of 1 total)
  • Plugin Author scribu

    (@scribu)

    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 ‘#’.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Posts 2 Posts] When post type isn't showed up in ui then no link in metabox’ is closed to new replies.