Filter: sensei_learning_mode_block_templates

apply_filters( 'sensei_learning_mode_block_templates', $templates ) → {Array.<Sensei_Course_Theme_Template>}

Filters the Learning Mode block templates list. Allows to add additional ones too.

Parameters:
Name Type Description
$templates Array.<Sensei_Course_Theme_Template>

The list of Learning Mode block templates. If adding a new template then it's key should be the template name.

Since:
  • 4.7.0
Source:
Returns:

The list of extra learning mode block templates.

Type
Array.<Sensei_Course_Theme_Template>