Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Block_Templates::template_titles()
Returns an associative array of template titles.
Description Description
Keys are template slugs. Values are template titles in a human readable form.
Return Return
(array)
Source Source
File: includes/class-llms-block-templates.php
self::LLMS_BLOCK_TEMPLATES_PREFIX . 'archive-llms_membership' => esc_html__( 'Membership Catalog', 'lifterlms' ), self::LLMS_BLOCK_TEMPLATES_PREFIX . 'single-certificate' => esc_html__( 'Single Certificate', 'lifterlms' ), self::LLMS_BLOCK_TEMPLATES_PREFIX . 'single-no-access' => esc_html__( 'Single Access Restricted', 'lifterlms' ), self::LLMS_BLOCK_TEMPLATES_PREFIX . 'taxonomy-course_cat' => esc_html__( 'Taxonomy Course Category', 'lifterlms' ), self::LLMS_BLOCK_TEMPLATES_PREFIX . 'taxonomy-course_difficulty' => esc_html__( 'Taxonomy Course Difficulty', 'lifterlms' ), self::LLMS_BLOCK_TEMPLATES_PREFIX . 'taxonomy-course_tag' => esc_html__( 'Taxonomy Course Tag', 'lifterlms' ), self::LLMS_BLOCK_TEMPLATES_PREFIX . 'taxonomy-course_track' => esc_html__( 'Taxonomy Course Track', 'lifterlms' ), self::LLMS_BLOCK_TEMPLATES_PREFIX . 'taxonomy-membership_cat' => esc_html__( 'Taxonomy Membership Category', 'lifterlms' ), self::LLMS_BLOCK_TEMPLATES_PREFIX . 'taxonomy-membership_tag' => esc_html__( 'Taxonomy Membership Tag', 'lifterlms' ), ); /** * Filters the block template titles. * * @since 5.8.0 * * @param array $template_titles { * Associative array of template titles. * * @type string $slug The template slug. * @type string $title The template readable titles. * } */ return apply_filters( 'lifterlms_block_templates_titles', $template_titles ); } /** * Block Templates admin js strings. *
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
5.8.0 | Introduced. |