Filter: sensei_scripts_allowed_post_type_pages

apply_filters( 'sensei_scripts_allowed_post_type_pages', $allowed_post_type_pages ) → {array}

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

Parameters:
Name Type Description
$allowed_post_type_pages array

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

Source:
Returns:

Filtered list of allowed admin pages.

Type
array

apply_filters( 'sensei_scripts_allowed_post_type_pages', $allowed_post_type_pages ) → {array}

Only load lesson scripts for particular post type pages.

Parameters:
Name Type Description
$allowed_post_type_pages array

Allowed post type pages.

Source:
Returns:

Allowed post type pages.

Type
array

apply_filters( 'sensei_scripts_allowed_post_type_pages', $allowed_post_type_pages ) → {array}

Only load lesson styles for particular post type pages.

Parameters:
Name Type Description
$allowed_post_type_pages array

Allowed post type pages.

Source:
Returns:

Allowed post type pages.

Type
array