acf_admin_tools::get_tool()publicACF 5.6.3

get_tool

This function will return a tool tool class

Метод класса: acf_admin_tools{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$acf_admin_tools = new acf_admin_tools();
$acf_admin_tools->get_tool( $name );
$name(строка) (обязательный)
-

Список изменений

С версии 5.6.3 Введена.

Код acf_admin_tools::get_tool() ACF 6.0.4

function get_tool( $name ) {

	return isset( $this->tools[ $name ] ) ? $this->tools[ $name ] : null;

}