デフォルトの文言「投稿の編集」を、翻訳ファイルを編集せずに変更する方法です。
functions.phpに以下を記述します。
// 編集のタイトルを変更する
function admin_title_edit_post() {
global $wp_post_types;
$custom_name = get_post_meta($_GET['post'], 'custom_name', true);//利用したいカスタムフィールドを指定
$wp_post_types["brokerages"]->labels->edit_item = $custom_name;
}
add_action( 'load-post.php' , 'admin_title_edit_post' );


