diff --git a/plugins/performance-lab/modules/plugin-management/plugin-management.php b/plugins/performance-lab/modules/plugin-management/plugin-management.php new file mode 100644 index 0000000000..3650bb5af0 --- /dev/null +++ b/plugins/performance-lab/modules/plugin-management/plugin-management.php @@ -0,0 +1,71 @@ +No plugins found.
'; + return; + } + + echo 'Version: ' . esc_html( $plugin_data['Version'] ) . '
'; + } + if ( ! empty( $plugin_data['Description'] ) ) { + echo '' . esc_html( $plugin_data['Description'] ) . '
'; + } + echo 'Version: ' . esc_html( $plugin['version'] ) . '
'; + } + if ( ! empty( $plugin['short_description'] ) ) { + echo '' . esc_html( $plugin['short_description'] ) . '
'; + } + echo 'No plugin data found.
'; + } +} +add_action( 'admin_notices', 'performance_lab_render_plugin_cards' );