Developer Resources

A comprehensive list of filters and actions included in our plugin

Hooks / nelio_content_after_create_editorial_comment

do_action( ‘nelio_content_after_create_editorial_comment’, array{id:string,author:int,comment:string,date:string,post:int} $comment, int $user )

It runs when an editorial comment has been created.

Parameters

$comment array{id:string,author:int,comment:string,date:string,post:int}

(Required) the comment.

$user int

(Required) the user who created the comment.

Source

File: includes/rest/class-nelio-content-generic-rest-controller.php

Changelog

Changelog
VersionDescription
2.0.0Introduced.