【发布时间】:2016-11-17 21:56:50
【问题描述】:
我正在尝试设置页面的标题(由自定义主题制作) 这是我的代码,但由于某种原因它没有得到“$forumId”参数
$forumId=999;
add_filter('wpseo_title', 'filter_product_wpseo_title');
function filter_product_wpseo_title() {
return 'My id= '. $forumId ;
}
【问题讨论】: