Filter: sensei_comments_per_page

apply_filters( 'sensei_comments_per_page', $per_page, $type ) → {int}

Filter the number of items per page for the comments list table.

Parameters:
Name Type Description
$per_page int

The number of items to be displayed.

$type string

The type of items to be displayed.

Source:
Returns:

The filtered number of items to be displayed.

Type
int

apply_filters( 'sensei_comments_per_page', $per_page, $type ) → {int}

Filter the number of items per page in learner management.

Parameters:
Name Type Description
$per_page int

The number of items per page.

$type string

The type of items to display.

Source:
Returns:

The modified number of items per page.

Type
int

apply_filters( 'sensei_comments_per_page', $per_page, $screen ) → {int}

Filter the number of items per page for the Course Analysis list table.

Parameters:
Name Type Description
$per_page int

The number of items per page.

$screen string

The current screen.

Source:
Returns:

The number of items per page.

Type
int

apply_filters( 'sensei_comments_per_page', $per_page, $type ) → {int}

Filter the number of items per page that are going to be used in the table

Parameters:
Name Type Description
$per_page int

The number of items per page to use with the table.

$type string

The type of items to display.

Source:
Returns:

The number of items per page to use with the table.

Type
int

apply_filters( 'sensei_comments_per_page', $per_page, $type ) → {int}

Filter the number of items per page.

Parameters:
Name Type Description
$per_page int

The number of items per page.

$type string

The type of items.

Source:
Returns:

The number of items per page.

Type
int

apply_filters( 'sensei_comments_per_page', $per_page, $type ) → {int}

Filter the number of items per page that are going to be used in the table.

Parameters:
Name Type Description
$per_page int

The number of items per page to use with the table.

$type string

The type of items per page to use with the table.

Source:
Returns:

The filtered number of items per page to use with the table.

Type
int

apply_filters( 'sensei_comments_per_page', $per_page, $comments_type ) → {int}

Filter number of comments per page.

Parameters:
Name Type Description
$per_page int

Comments per page.

$comments_type string

Type of comments.

Source:
Returns:

Filtered comments per page.

Type
int