Filter: sensei_scripts_allowed_post_types

apply_filters( 'sensei_scripts_allowed_post_types', $allowed_post_types ) → {array}

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

Parameters:
Name Type Description
$allowed_post_types array

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

Source:
Returns:

Filtered list of allowed post types.

Type
array

apply_filters( 'sensei_scripts_allowed_post_types', $allowed_post_types ) → {array}

Only load lesson scripts for particular post types.

Parameters:
Name Type Description
$allowed_post_types array

Allowed post types.

Source:
Returns:

Allowed post types.

Type
array

apply_filters( 'sensei_scripts_allowed_post_types', $allowed_post_types ) → {array}

Only load lesson styles for particular post types.

Parameters:
Name Type Description
$allowed_post_types array

Allowed post types.

Source:
Returns:

Allowed post types.

Type
array