LLMS_Blocks::add_block_category( array $categories )

Add a custom LifterLMS block category


Description Description


Parameters Parameters

$categories

(array) (Required) existing block cats.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: vendor/lifterlms/lifterlms-blocks/includes/class-llms-blocks.php

	public function add_block_category( $categories ) {
		$categories[] = array(
			'slug'  => 'llms-blocks',
			'title' => sprintf(
				// Translators: %1$s = LifterLMS.
				__( '%1$s Blocks', 'lifterlms' ),
				'LifterLMS'
			),
		);
		return $categories;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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