Runs PHP code.
When running WordPress functions, the code key must first load wp-load.php and start with "<?php require_once '/wordpress/wp-load.php'; ".
@hasRunnableExample
@example
<code> { "step":"runPHPWithOptions", "options":{ "code":"<?php require_once '/wordpress/wp-load.php'; update_option('blogname', file_get_contents('php://input'));?>", "body":"Site Name Modified by runPHPWithOptions" } } </code>
Runs PHP code. When running WordPress functions, the
codekey must first loadwp-load.phpand start with"<?php require_once '/wordpress/wp-load.php'; ".