LLMS_Post_Types::register_taxonomy( string $name, string|array $object, array $data )
Register a custom post type taxonomy Automatically checks for duplicates and filters data
Parameters Parameters
- $name
-
(string) (Required) Taxonomy name.
- $object
-
(string|array) (Required) Post type object(s) to associate the taxonomy with.
- $data
-
(array) (Required) Taxonomy data.
Return Return
(void)
Source Source
File: includes/class.llms.post-types.php
'exclude_from_search' => false, 'show_in_admin_all_list' => true, 'show_in_admin_status_list' => true, /* translators: %s: Refuned count, %s: Refunded count. */ 'label_count' => _n_noop( 'Refunded <span class="count">(%s)</span>', 'Refunded <span class="count">(%s)</span>', 'lifterlms' ), ), 'llms-txn-succeeded' => array( 'label' => _x( 'Succeeded', 'Transaction status', 'lifterlms' ), 'public' => true, 'exclude_from_search' => false, 'show_in_admin_all_list' => true, 'show_in_admin_status_list' => true,
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.13.0 | Introduced. |