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_Post_Types::get_template( string $post_type )
Retrieves the block template for use in post type registration.
Parameters Parameters
- $post_type
-
(string) (Required) The post type.
Return Return
(array|null) Returns the block template array or null if no template is defined for the post type.
Source Source
File: includes/class.llms.post-types.php
$singular = $tax;
$plural = $tax . 's';
} else {
$singular = $tax[0];
$plural = $tax[1];
}
/**
* Customize the taxonomy capabilities for the given taxonomy.
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 6.0.0 | Introduced. |