do_action( "learndash-assignment-row-{$slug}-after", WP_Post $assignment, int $post_id, int $course_id, int $user_id )
Fires after an assignment row.
Contents
Description #
The dynamic part of the hook $slug
refers to the slug of the column.
Parameters #
- $assignment
-
(WP_Post) WP_Post object for assignment.
- $post_id
-
(int) Post ID.
- $course_id
-
(int) Course ID.
- $user_id
-
(int) User ID.
Source #
Examples #
<?php /** * Example usage for learndash-assignment-row-{$slug}-after action. */ add_action( 'learndash-assignment-row-comments-after', function( $assignment, $post_id, $course_id, $user_id ) { // May add any custom logic using $assignment, $post_id, $course_id, $user_id echo '<div>Custom content or markup</div>'; }, 10, 4 );