Forums
Home / Plugin: Posts 2 Posts / Edit Metabox and admin column labels/titles
(@jconroy)
11 years, 3 months ago
Hi Scribu,
What’s the best way to edit/filter the admin column titles/labels added by posts 2 posts? I’d like to change “Connected XXX” to something else.
I tried using some of the core manage columns functions e.g. manage_$post_type_posts_columns but couldn’t get a hold of the p2p custom ones this way.
Likewise with the admin meta box/es?
Cheers, JC
http://wordpress.org/extend/plugins/posts-to-posts/
(@scribu)
In the development version (1.5-alpha), you can use the ‘column_title’ key:
https://github.com/scribu/wp-posts-to-posts/wiki/Admin-column-display
And similarly for the metaboxes:
https://github.com/scribu/wp-posts-to-posts/wiki/Admin-box-display
Awesome, thank you!
(@ioanpokorny)
11 years, 2 months ago
Hi, no matter what I put in the to_labels the admin box still shows the standard fields…