do_action( 'learndash_new_essay_submitted', int $essay_id, array $essay_arg )
Fires after a new essay is submitted.
Description #
Parameters #
- $essay_id
-
(int) The new Essay ID created after essay submission.
- $essay_arg
-
(array) An array of essay arguments.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php /** * Example usage for learndash_new_essay_submitted action. */ add_action( 'learndash_new_essay_submitted', function( $essay_id, $essay_arg ) { // May add any custom logic using $essay_id, $essay_arg }, 10, 2 );