bonnier/contenthub-editor

此包的最新版本(5.28.3)没有可用的许可证信息。

将Bonnier ContentHub集成到WordPress中

安装量: 7,050

依赖: 0

建议者: 0

安全性: 0

星标: 1

关注者: 12

分支: 2

开放问题: 1

类型:wordpress-plugin

5.28.3 2022-09-12 07:51 UTC

This package is auto-updated.

Last update: 2024-09-16 11:42:11 UTC


README

此插件使您的WordPress网站能够与Bonnier ContentHub集成并编辑内容。

要求

  • WordPress 4.7.2或更高版本
  • ACF PRO 5.x
  • PHP 5.6或更高版本

安装/配置

通过composer安装

composer require bonnier/wp-contenthub-editor

钩子

别名更改

当复合别名更改时触发

add_action(WpComposite::SLUG_CHANGE_HOOK, function($postId, $oldLink, $newLink){
   // Do your magic here
}, 10, 3); 

请注意,提供的链接是绝对链接,而不仅仅是帖子链接