it’s not easy. ??
This is the “active_plugins” row from my site’s wp_options table. As you can see, it’s a serialized array. Get your fingers ready for a lot of counting.
a:30:{i:0;s:49:"ajax-thumbnail-rebuild/ajax-thumbnail-rebuild.php";i:1;s:29:"antispam-bee/antispam_bee.php";i:2;s:27:"autoptimize/autoptimize.php";i:3;s:21:"backwpup/backwpup.php";i:4;s:59:"black-studio-tinymce-widget/black-studio-tinymce-widget.php";i:5;s:43:"broken-link-checker/broken-link-checker.php";i:6;s:37:"disable-comments/disable-comments.php";i:7;s:45:"enable-media-replace/enable-media-replace.php";i:8;s:39:"formidable-paypal/formidable-paypal.php";i:9;s:39:"formidable-stripe/formidable-stripe.php";i:10;s:25:"formidable/formidable.php";i:11;s:50:"google-analytics-for-wordpress/googleanalytics.php";i:12;s:39:"heartbeat-control/heartbeat-control.php";i:13;s:39:"http2-server-push/http2-server-push.php";i:14;s:19:"jetpack/jetpack.php";i:15;s:37:"login-customizer/login-customizer.php";i:16;s:45:"mainwp-child-reports/mainwp-child-reports.php";i:17;s:29:"mainwp-child/mainwp-child.php";i:18;s:47:"really-simple-captcha/really-simple-captcha.php";i:19;s:30:"sdsplugin/sterndata-plugin.php";i:20;s:47:"show-current-template/show-current-template.php";i:21;s:48:"simple-301-redirects/wp-simple-301-redirects.php";i:22;s:33:"widget-context/widget-context.php";i:23;s:23:"wordfence/wordfence.php";i:24;s:24:"wordpress-seo/wp-seo.php";i:25;s:27:"wp-optimize/wp-optimize.php";i:26;s:34:"wp-referrer-modal/sds-wp-modal.php";i:27;s:67:"wp-super-cache-clear-cache-menu/wp-super-cache-clear-cache-menu.php";i:28;s:27:"wp-super-cache/wp-cache.php";i:29;s:17:"wpclef/wpclef.php";}