LLMS_Abstract_Admin_Tool::register( array[] $tools )
Register the tool.
Description Description
See also See also
- llms_status_tools: (filter)
Parameters Parameters
- $tools
-
(array[]) (Required) Array of tool definitions.
Return Return
(array[])
Source Source
File: includes/abstracts/llms-abstract-admin-tool.php
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 | public function register( $tools ) { if ( ! $this ->should_load() ) { return $tools ; } $tools [ $this ->id ] = array ( 'description' => $this ->get_description(), 'label' => $this ->get_label(), 'text' => $this ->get_text(), ); return $tools ; } |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.37.19 | Introduced. |