Developer Resources

A comprehensive list of filters and actions included in our plugin

Hooks / nelio_content_after_create_editorial_task

do_action( ‘nelio_content_after_create_editorial_task’, array{assigneeId:int,assignerId:int,completed:bool,dateDue:string,postId:int,task:string} $task, int $user )

It runs when an editorial task has been created.

Parameters

$task array{assigneeId:int,assignerId:int,completed:bool,dateDue:string,postId:int,task:string}

(Required) the task.

$user int

(Required) the user who created the task.

Source

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

Changelog

Changelog
VersionDescription
2.0.0Introduced.