| layout | default |
|---|---|
| title | wp eval-file |
| display_global_parameters | true |
Commands » eval-file
wp eval-file - Load and execute a PHP file.
Quick links: Github issues
<file> : The path to the PHP file to execute.
[<arg>...] : One or more arguments to pass to the file. They are placed in the $args variable.
[--skip-wordpress] : Load and execute file without loading WordPress.