Skip to content

Commit 87b1a83

Browse files
authored
Create change-essay-assignment-submission-summary-length.php
1 parent 2a0cd42 commit 87b1a83

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
/**
3+
* Change the length of the {{SUBMISSION_SUMMARY}} notification merge code for an assignment of type "Essay."
4+
*
5+
* You can add this recipe to your site by creating a custom plugin
6+
* or using the Code Snippets plugin available for free in the WordPress repository.
7+
* Read this companion documentation for step-by-step directions on either method.
8+
* https://lifterlms.com/docs/adding-custom-code/
9+
*/
10+
11+
add_filter( 'llms_assignments_submission_summary_essay_limit', function( $value ) {
12+
// To remove the limit completely, this could be changed to:
13+
// return INF;
14+
return 1000;
15+
} );

0 commit comments

Comments
 (0)