0
我试图设置页面的标题改变yoast标题(自定义主题制造) 这是我的代码,但由于某种原因,没有得到“$ forumId”参数使用wpseo_title功能
$forumId=999;
add_filter('wpseo_title', 'filter_product_wpseo_title');
function filter_product_wpseo_title() {
return 'My id= '. $forumId ;
}