LLMS_Abstract_Admin_Tool::register( array[] $tools )

Register the tool.


Description Description

See also See also


Top ↑

Parameters Parameters

$tools

(array[]) (Required) Array of tool definitions.


Top ↑

Return Return

(array[])


Top ↑

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;
 
}


Top ↑

Changelog Changelog

Changelog
Version Description
3.37.19 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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