helsingborg-stad / notification-center
插件,当其他用户对评论等做出反应时,向已登录用户提供通知。
1.4.4
2018-10-19 13:43 UTC
Requires
- helsingborg-stad/acf-export-manager: >=1.0.0
- philo/laravel-blade: ^3.1
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