WP titleを変える
//ページタイトルを設定する
add_theme_support( ‘title-tag’ );
function change_title_tag($title){
$title = ‘ok’;
return $title;
}
add_filter( ‘pre_get_document_title’, ‘change_title_tag’, 10000 );
add_theme_supportを関数の外で実行しないと、add_filterが動かないみたい。