Ask your WordPress questions! Pay money and get answers fast! (more info)

Wordpress console? WordPress

Is there any type of IDE or other structure that would allow me to play with wordpress functions live?

For instance, I'm currently working with a plugin intended to pull a user's avatar from their Linkedin profile. Would be great to see the results of bp_get_loggedin_user_fullname(), to diagnose and try to figure out the right implementation.

Answers (3)

2015-06-15

Ross Wilson answers:

I use PHPStorm to debug wordpress on a daily basis. If you don't have wordpress installed locally you can go with something like serverpress to get you going. There are instructions here [[LINK href="https://serverpress.com/using-phpstorm-8-for-wordpress-debugging-development/"]]https://serverpress.com/using-phpstorm-8-for-wordpress-debugging-development/[[/LINK]]

2015-06-15

MJ answers:

Hi,

Have you tried this one? https://wordpress.org/plugins/wp-php-console/

2015-06-15

Mike Van Winkle answers:

If you have wp-cli installed you can simply use the "shell" command which allows you to run available functions real time on the command line. What's nice about it is it will actually bootstrap your WordPress install so even plugin and theme functions are available. [[LINK href="http://wp-cli.org/commands/shell/"]]http://wp-cli.org/commands/shell/[[/LINK]]