month_link

过滤钩子
apply_filters( 'month_link', $monthlink, $year, $month )
参数
  • (string) $monthlink Permalink for the month archive.
    Required:
  • (int) $year Year for the archive.
    Required:
  • (int) $month The month for the archive.
    Required:
定义位置
相关勾子
post_linkcomment_linkauthor_linktag_linkrespond_link
相关方法
get_month_linkcomment_linkcomments_linkget_linkget_linksedit_link
引入
1.5.0
弃用
-

month_link是一个过滤器钩子,它允许开发者改变WordPress中每月存档视图的链接URL。

过滤月份存档固定链接。

return apply_filters( 'month_link', $monthlink, $year, $month );

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2025-12-06 12:33:18

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: