learndash_updated_essay_scoring

apply_filters( 'learndash_updated_essay_scoring',  array $updated_scoring )

Filters updated essay scoring data before saving it to post meta.


Description #


Parameters #

$updated_scoring

(array) An array of updated essay score data.


Source #

File: includes/admin/classes-posts-edits/class-learndash-admin-essay-edit.php


Examples #

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

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