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::block_templates_paths()

Retrieve the block templates directory paths.


Return Return

(string[])


Top ↑

Source Source

File: includes/class-llms-block-templates.php

	private function block_templates_paths() {

		$block_template_paths = array();

		$block_templates_base_paths = array_keys( $this->block_templates_config );

		foreach ( $block_templates_base_paths as $block_template_base_path ) {
			$block_template_paths = array_merge(
				_get_block_templates_paths( $block_template_base_path ),
				$block_template_paths
			);
		}

		return $block_template_paths;

	}

Top ↑

Changelog Changelog

Changelog
Version Description
5.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.