A command line interface for WordPress

Commands » eval-file

wp eval-file - Load and execute a PHP file.

Quick links: Github issues


The path to the PHP file to execute.
One or more arguments to pass to the file. They are placed in the $args variable.
Load and execute file without loading WordPress.