https://github.com/benjaminmedia/wp-contenthub-editor
The WordPress plugin for integrating ContentHub
https://github.com/benjaminmedia/wp-contenthub-editor
wordpress
Last synced: 8 months ago
JSON representation
The WordPress plugin for integrating ContentHub
- Host: GitHub
- URL: https://github.com/benjaminmedia/wp-contenthub-editor
- Owner: BenjaminMedia
- Created: 2017-04-18T12:57:39.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-05-16T10:46:34.000Z (about 2 years ago)
- Last Synced: 2025-05-21T00:43:47.334Z (about 1 year ago)
- Topics: wordpress
- Language: PHP
- Size: 4.36 MB
- Stars: 1
- Watchers: 11
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bonnier - ContentHub Editor Plugin
This plugin enables your WordPress site to integrate with the Bonnier ContentHub and edit content.
### Requirements
- WordPress 4.7.2 or higher
- ACF PRO 5.x
- PHP 5.6 or higher
### Installation/Configuration
Install through composer:
``` bash
composer require bonnier/wp-contenthub-editor
```
### Hooks
##### Slug change
Triggers when the composite slug is changed
``` php
add_action(WpComposite::SLUG_CHANGE_HOOK, function($postId, $oldLink, $newLink){
// Do your magic here
}, 10, 3);
```
Please note that the links provided are the absolute links and not just post links