helsingborg-stad/notification-center

插件,当其他用户对评论等做出反应时,向已登录用户提供通知。

安装: 153

依赖: 0

建议者: 0

安全: 0

星标: 1

关注者: 11

分支: 1

公开问题: 0

类型:wordpress-plugin

1.4.4 2018-10-19 13:43 UTC

README

插件,当其他用户对评论等做出反应时,向已登录用户提供通知。

简码

notification-center

以可点击的下拉列表形式输出通知列表

示例

do_shortcode('[notification-center]');

过滤器

notification_center/activated_posttypes

为选定的帖子类型激活通知

参数

$postTypes      The default post types array

notification_center/entity_types

添加自定义实体类型。例如,评论、点赞、更新等。

参数

$entityTypes      The default entity types array

notification_center/email_footer

在通知列表下方添加自定义文本

参数

$message      Default sender message