Title: FCM Push Notification from WP
Author: Paulo Miranda
Published: <strong>2020 年 2 月 1 日</strong>
Last modified: 2024 年 6 月 23 日

---

搜索插件

![](https://ps.w.org/fcm-push-notification-from-wp/assets/banner-772x250.png?rev
=2613094)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/fcm-push-notification-from-wp/assets/icon-256x256.png?rev=2236794)

# FCM Push Notification from WP

 作者：[Paulo Miranda](https://profiles.wordpress.org/dprogrammer/)

[下载](https://downloads.wordpress.org/plugin/fcm-push-notification-from-wp.zip)

 * [详情](https://cn.wordpress.org/plugins/fcm-push-notification-from-wp/#description)
 * [评价](https://cn.wordpress.org/plugins/fcm-push-notification-from-wp/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/fcm-push-notification-from-wp/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/fcm-push-notification-from-wp/#developers)

 [支持](https://wordpress.org/support/plugin/fcm-push-notification-from-wp/)

## 描述

Notifications for posts, pages and custom post types.

Works with scheduled posts.

Send notifications to users of your app from your website using Google’s service,
Firebase Push Notification.

The notification sent includes the block with the data message to be handled by 
the application, even when it is in the background.

Configure the plugin to start sending notifications.

Send custom field values ​​in the notification, in the data option.

Send a notification when you post news or update your content. When editing, the
option is deselected to send you to accidentally send a new notification. Check 
if you want to send a new notification when editing.

Compatible with apps developed with the SDK Flutter.

You need to register users on the same topic (fcm) that was informed in the plugin
configuration. This plugin is not intended for sending notifications to websites.

Support my work
 [https://www.buymeacoffee.com/dprogrammer](https://www.buymeacoffee.com/dprogrammer)

## 屏幕截图

[⌊Plugin settings screen.⌉⌊Plugin settings screen.⌉[

Plugin settings screen.

[⌊Sending from a post.⌉⌊Sending from a post.⌉[

Sending from a post.

[⌊Sending from a custom post type.⌉⌊Sending from a custom post type.⌉[

Sending from a custom post type.

[⌊Sending from a page.⌉⌊Sending from a page.⌉[

Sending from a page.

[⌊Sending from a scheduled post.⌉⌊Sending from a scheduled post.⌉[

Sending from a scheduled post.

[⌊Notification and data message fields.⌉⌊Notification and data message fields.⌉[

Notification and data message fields.

[⌊Test performed using WordPress 5.8.1. Opening the notification within the app.⌉⌊
Test performed using WordPress 5.8.1. Opening the notification within the app.⌉[

Test performed using WordPress 5.8.1. Opening the notification within the app.

[⌊Test performed using WordPress 5.8.1. Notification being displayed when the app
is closed.⌉⌊Test performed using WordPress 5.8.1. Notification being displayed when
the app is closed.⌉[

Test performed using WordPress 5.8.1. Notification being displayed when the app 
is closed.

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/fcm-push-notification-from-
    wp` directory, or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Use the Settings->FCM Push Notification from WordPress screen to configure the 
    plugin.
 4. In the FCM Options put the FCM API Key and put the topic name registered in your
    app.
 5. Optionally put the image url to display in the notification.

## 常见问题

### Does it work with scheduled posts?

Yes. When a post changes the status from scheduled to published, a notification 
is sent. If the option was checked when saving the post.

### Can I send to one user only?

No. You can only send to the topic informed in the plugin configuration.

All users receive notification.

### Can I disable sending on the publication screen?

Yes. Uncheck the checkbox to not send a notification.

### Can I send to my site user?

No. sends only to users who are using your android/ios app.

## 评价

![](https://secure.gravatar.com/avatar/f751bc2deb567a48ecdcc89a0fc6f9fa981788eb1ae4de583535f676999efde7?
s=60&d=retro&r=g)

### 󠀁[great](https://wordpress.org/support/topic/great-16361/)󠁿

 [mostafa9999](https://profiles.wordpress.org/mostafa9999/) 2024 年 6 月 26 日

..

![](https://secure.gravatar.com/avatar/a1f2d70955541ee2b5acf688502a8f0d15c0aea2d1c4f3310bbcf2b19d4eea82?
s=60&d=retro&r=g)

### 󠀁[Works!](https://wordpress.org/support/topic/works-2147/)󠁿

 [graficowalab](https://profiles.wordpress.org/graficowalab/) 2023 年 12 月 14 日

Thank you!

![](https://secure.gravatar.com/avatar/3a03bc55e8b78fd268ed947e43a5600839ebde14c9d705555b08afa6147e70a4?
s=60&d=retro&r=g)

### 󠀁[Awesome Plugin](https://wordpress.org/support/topic/awesome-plugin-6233/)󠁿

 [Famish](https://profiles.wordpress.org/iclicknz/) 2021 年 11 月 16 日

Kudos to the developer for this amazing plugin. Works right off the bat!

![](https://secure.gravatar.com/avatar/952527ed6b8b8ae5c5f9e3d89e7b6e82a03fb806b97168285e5b71d913039596?
s=60&d=retro&r=g)

### 󠀁[Easy work](https://wordpress.org/support/topic/easy-work-3/)󠁿

 [takayama55](https://profiles.wordpress.org/takayama55/) 2021 年 4 月 27 日 1 回复

Thank you for developers. Translated into Japanese please check

![](https://secure.gravatar.com/avatar/716166173d192d6c8ac462f7c1b4b7220d133bd50494e9e752e39bd8b855581a?
s=60&d=retro&r=g)

### 󠀁[Works great](https://wordpress.org/support/topic/works-great-7449/)󠁿

 [will_brett](https://profiles.wordpress.org/will_brett/) 2021 年 2 月 4 日

Plugin works great when correctly setup. Could do with some more documentation about
how to configure and would be amazing if you could have more options to customise
the plugin to your needs. Dev is helpful with responding to support requests.

 [ 阅读所有6条评价 ](https://wordpress.org/support/plugin/fcm-push-notification-from-wp/reviews/)

## 贡献者及开发者

「FCM Push Notification from WP」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Paulo Miranda ](https://profiles.wordpress.org/dprogrammer/)

「FCM Push Notification from WP」插件已被翻译至 2 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/fcm-push-notification-from-wp/contributors)
为本插件所做的贡献。

[帮助将「FCM Push Notification from WP」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/fcm-push-notification-from-wp)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/fcm-push-notification-from-wp/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/fcm-push-notification-from-wp/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/fcm-push-notification-from-wp/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/fcm-push-notification-from-wp/)。

## 更新日志

#### 1.0.0

 * First version.

#### 1.1.0

 * Bug fixes.

#### 1.2.0

 * Bring the option unchecked when editing a post.

#### 1.3.0

 * Sending notification for scheduled posts.
 * Bug fixes.

#### 1.4.0

 * Bug fixes. Two notifications were sent when sending.

#### 1.5.0

 * Bug fixes. this plugin was not sending the permalink when editing a post. Solution
   sent by @alchmi. Thanks.

#### 1.6.0

 * Included routine to remove visual composer tags from page and post text.

#### 1.7.0

 * Included the Sound field in the configuration. If empty, the name of the sound
   will be “default”.

#### 1.8.0

 * Bug fixes.

#### 1.9.0

 * Option to take values ​​from custom fields and include in data area.
 * Fixed text notifications display with ‘.
 * Fixed notification display when using Divi theme.

#### 1.9.1

 * Bug fixes.

## 额外信息

 *  版本 **1.9.1**
 *  最后更新：**2 年前**
 *  活跃安装数量 **600+**
 *  WordPress 版本 ** 4.6 或更高版本 **
 *  已测试的最高版本为 **6.5.8**
 *  PHP 版本 ** 5.6.20 或更高版本 **
 *  语言
 * [Dutch](https://nl.wordpress.org/plugins/fcm-push-notification-from-wp/) 、 [English (US)](https://wordpress.org/plugins/fcm-push-notification-from-wp/)
   和 [Japanese](https://ja.wordpress.org/plugins/fcm-push-notification-from-wp/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/fcm-push-notification-from-wp)
 * 标签
 * [android](https://cn.wordpress.org/plugins/tags/android/)[FCM](https://cn.wordpress.org/plugins/tags/fcm/)
   [firebase](https://cn.wordpress.org/plugins/tags/firebase/)[notification](https://cn.wordpress.org/plugins/tags/notification/)
   [push](https://cn.wordpress.org/plugins/tags/push/)
 *  [高级视图](https://cn.wordpress.org/plugins/fcm-push-notification-from-wp/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  5 条 5 星评价     ](https://wordpress.org/support/plugin/fcm-push-notification-from-wp/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/fcm-push-notification-from-wp/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/fcm-push-notification-from-wp/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/fcm-push-notification-from-wp/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/fcm-push-notification-from-wp/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/fcm-push-notification-from-wp/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/fcm-push-notification-from-wp/reviews/)

## 贡献者

 *   [ Paulo Miranda ](https://profiles.wordpress.org/dprogrammer/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/fcm-push-notification-from-wp/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.buymeacoffee.com/dprogrammer)