learndash_new_essay_submission_args

apply_filters( 'learndash_new_essay_submission_args',  array $essay_args )

Filters new essay submission wp_insert_post arguments.


Description #


Parameters #

$essay_args

(array) An array of essay arguments.


Source #

File: includes/quiz/ld-quiz-essays.php


Examples #

 <?php
/**
 * Example usage for learndash_new_essay_submission_args filter.
 */
add_filter(
	'learndash_new_essay_submission_args',
	function( $essay_args ) {
		// May add any custom logic using $essay_args.

		// Always return $essay_args.
		return $essay_args;
	}
);