Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benjaminmedia/wp-contenthub-editor
The WordPress plugin for integrating ContentHub
https://github.com/benjaminmedia/wp-contenthub-editor
wordpress
Last synced: about 1 month 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 (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-05-16T10:46:34.000Z (8 months ago)
- Last Synced: 2024-07-17T13:55:07.048Z (6 months ago)
- Topics: wordpress
- Language: PHP
- Size: 4.36 MB
- Stars: 1
- Watchers: 12
- 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