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

	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.