WordPress Get Pluginliste

// List all WordPress plugins and version
// Check if get_plugins() function exists. This is required on the front end of the
// site, since it is in a file that is normally only loaded in the admin.
if ( ! function_exists( 'get_plugins' ) ) {
    require_once ABSPATH . 'wp-admin/includes/plugin.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 ) );
gtamborero