do_action( 'learndash-focus-content-comments-before', int $course_id, int $user_id )
Fires before the comments in focus mode.
Description #
Parameters #
- $course_id
-
(int) Course ID.
- $user_id
-
(int) User ID.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php /** * Example usage for learndash-focus-content-comments-before action. */ add_action( 'learndash-focus-content-comments-before', function( $course_id, $user_id ) { // May add any custom logic using $course_id, $user_id }, 10, 2 );
Changelog #
Version | Description |
---|---|
3.0.0 | Introduced. |