PhpStorm 2024.2 Help

WordPress

PhpStorm's built-in support for the WordPress CMS framework includes:

WordPress code completion and navigation

Code completion for hook names. Navigation between hook registrations and hook invocations. Go to the callback function declaration or usages from a hook registration.

WordPress log highlighting

View and navigate WordPress log files in the editor or in the terminal. Use the pre-configured highlighting patterns or customize the format or coloring if required.

Code checks against the WordPress code style

Configure the WordPress code style and use PHP_CodeSniffer to check code against the WordPress coding standards.

Usage of the WP-CLI tool from PhpStorm

Run WP-CLI commands from PhpStorm using the Run Anything action and debug the controller classes corresponding to the selected commands.

New WordPress projects from a template

Create a new WordPress project from a template. In this case, the WordPress integration in the project is activated automatically.

View WordPress documentation from the PhpStorm editor

Open the official WordPress documentation page at http://wordpress.org/ right from the PhpStorm editor.

Last modified: 24 July 2024