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 #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?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;
}
);
Changelog #
| Version | Description |
|---|---|
| 2.2.0 | Introduced. |