functions.php
Taxonomies CLI functions
Tags
Table of Contents
Functions
- is_valid_file() : bool
- Validate a file path for CLI commands.
Functions
is_valid_file()
Validate a file path for CLI commands.
is_valid_file([string $file = '' ]) : bool
Parameters
- $file : string = ''
-
Path to a file.
Return values
bool —True if the file is valid, false otherwise.