Filter: sensei_students_row_updated

apply_filters( 'sensei_students_row_updated', $started_at_changed, $post_id, $user_id, $post_type ) → {bool}

Filters whether a student row was updated on the Students screen.

Lets extensions persist additional date changes (e.g. course access dates) when a student's dates are edited and report whether a change occurred so the row refreshes.

Parameters:
Name Type Description
$started_at_changed bool

Whether the start date was changed.

$post_id int

Course or lesson ID.

$user_id int

Student user ID.

$post_type string

Post type ('course' or 'lesson').

Since:
  • $$next-version$$
Source:
Returns:

Whether the student row was updated.

Type
bool