sd
This commit is contained in:
@@ -86,7 +86,8 @@ class Igny8RestAPI {
|
||||
));
|
||||
|
||||
// Manual publish endpoint - for triggering WordPress publish from IGNY8
|
||||
register_rest_route('igny8/v1', '/publish-content/', array(
|
||||
// Route: /wp-json/igny8/v1/publish
|
||||
register_rest_route('igny8/v1', '/publish', array(
|
||||
'methods' => 'POST',
|
||||
'callback' => array($this, 'publish_content_to_wordpress'),
|
||||
'permission_callback' => array($this, 'check_permission'),
|
||||
|
||||
Reference in New Issue
Block a user