acf_admin_tools::get_tool
get_tool
This function will return a tool tool class
Method of the class: acf_admin_tools{}
No Hooks.
Returns
null. Nothing (null).
Usage
$acf_admin_tools = new acf_admin_tools(); $acf_admin_tools->get_tool( $name );
- $name(string) (required)
- .
Changelog
| Since 5.6.3 | Introduced. |
acf_admin_tools::get_tool() acf admin tools::get tool code ACF 6.0.4
function get_tool( $name ) {
return isset( $this->tools[ $name ] ) ? $this->tools[ $name ] : null;
}