WP-CLI

A command line interface for WordPress

Docs » Internal API » System

WP_CLI\Utils\get_temp_dir()

Get the system’s temp directory. Warns user if it isn’t writable.


Usage

WP_CLI\Utils\get_temp_dir()
@return (string)

Internal API documentation is generated from the WP-CLI codebase on every release. To suggest improvements, please submit a pull request.