[insert_php]
$all_plugins = get_plugins();

// Save the data to the error log so you can see what the array format is like.
error_log( print_r( $all_plugins, true ) );
[/insert_php]

[insert_php]
phpinfo();
[/insert_php]