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
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. |