Action: sensei_content_lesson_before

do_action( 'sensei_content_lesson_before', $lesson_id )

Action that runs before the sensei {post_type} content. It runs inside the sensei content.php template. This applies to the specific post type that you've targeted.

Parameters:
Name Type Description
$lesson_id int

The lesson ID.

Since:
  • 1.9.0
Source: