Browse: Home / Hooks /

learndash-assignment-uploads-heading-after

do_action( 'learndash-assignment-uploads-heading-after',  int $course_step_post_id,  int $course_id,  int $user_id )

Fires after the assignment uploads heading.


Description #


Parameters #

$course_step_post_id

(int) Post ID for the Lesson/Topic being shown.

$course_id

(int) Course ID.

$user_id

(int) User ID.


Source #

File: themes/ld30/templates/assignment/upload.php


Examples #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 <?php
/**
 * Example usage for learndash-assignment-uploads-heading-after action.
 */
add_action(
	'learndash-assignment-uploads-heading-after',
	function( $course_step_post_id, $course_id, $user_id ) {
		// May add any custom logic using $course_step_post_id, $course_id, $user_id

	},
	10,
	3
);
 

Changelog #

Changelog
Version Description
3.0.0 Introduced.