Filter: sensei_scripts_allowed_pages

apply_filters( 'sensei_scripts_allowed_pages', $allowed_pages ) → {array}

Filter the list of admin pages slugs where the admin custom styles should be loaded.

Parameters:
Name Type Description
$allowed_pages array

The list of admin pages slugs where the admin custom styles should be loaded.

Source:
Returns:

Filtered list of allowed admin pages.

Type
array

apply_filters( 'sensei_scripts_allowed_pages', $allowed_pages ) → {array}

Only load lesson styles for particular pages.

Parameters:
Name Type Description
$allowed_pages array

Allowed pages.

Source:
Returns:

Allowed pages.

Type
array