{"id":292502,"date":"2026-03-27T10:17:30","date_gmt":"2026-03-27T10:17:30","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/admin-code-search\/"},"modified":"2026-04-01T17:04:37","modified_gmt":"2026-04-01T17:04:37","slug":"admin-code-search","status":"publish","type":"plugin","link":"https:\/\/bal.wordpress.org\/plugins\/admin-code-search\/","author":13196930,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.1","stable_tag":"1.2.1","tested":"6.9.4","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Admin Code Search","header_author":"Marko Bakic","header_description":"Search code inside active themes and plugins directly from the WordPress admin area.","assets_banners_color":"2f7f7d","last_updated":"2026-04-01 17:04:37","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/admin-code-search\/","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":10,"downloads":212,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"marbak","date":"2026-03-28 08:16:07"},"1.1.0":{"tag":"1.1.0","author":"marbak","date":"2026-03-31 08:27:51"},"1.2.0":{"tag":"1.2.0","author":"marbak","date":"2026-03-31 22:41:20"},"1.2.1":{"tag":"1.2.1","author":"marbak","date":"2026-04-01 17:04:37"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3492527,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3492527,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3492987,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3492987,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.2.0","1.2.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3492513,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3493014,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3493015,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3493015,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"Admin Code Search interface in Tools \u2192 Code Search","2":"Search input with custom file extensions","3":"Results showing matches across plugin and theme files","4":"Detailed result with file path, line number, and highlighted match"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[245076,2679,4932,210684,259226],"plugin_category":[59],"plugin_contributors":[258770],"plugin_business_model":[],"class_list":["post-292502","plugin","type-plugin","status-publish","hentry","plugin_tags-code-search","plugin_tags-debugging","plugin_tags-developer-tools","plugin_tags-search-plugins","plugin_tags-search-themes","plugin_category-utilities-and-tools","plugin_contributors-marbak","plugin_committers-marbak"],"banners":{"banner":"https:\/\/ps.w.org\/admin-code-search\/assets\/banner-772x250.png?rev=3492987","banner_2x":"https:\/\/ps.w.org\/admin-code-search\/assets\/banner-1544x500.png?rev=3492987","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/admin-code-search\/assets\/icon-128x128.png?rev=3492527","icon_2x":"https:\/\/ps.w.org\/admin-code-search\/assets\/icon-256x256.png?rev=3492527","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/admin-code-search\/assets\/screenshot-1.png?rev=3492513","caption":"Admin Code Search interface in Tools \u2192 Code Search"},{"src":"https:\/\/ps.w.org\/admin-code-search\/assets\/screenshot-2.png?rev=3493014","caption":"Search input with custom file extensions"},{"src":"https:\/\/ps.w.org\/admin-code-search\/assets\/screenshot-3.png?rev=3493015","caption":"Results showing matches across plugin and theme files"},{"src":"https:\/\/ps.w.org\/admin-code-search\/assets\/screenshot-4.png?rev=3493015","caption":"Detailed result with file path, line number, and highlighted match"}],"raw_content":"<!--section=description-->\n<p>Admin Code Search is a lightweight developer tool that lets you search code directly from the WordPress admin area \u2014 no FTP or terminal access required.<\/p>\n\n<p>It scans active plugins, themes, and MU plugins line-by-line and shows matching results with file paths and line numbers.<\/p>\n\n<p>Designed for quick debugging, code tracing, and locating specific hooks, functions, or strings across a site.<\/p>\n\n<p>A simple, fast code search tool for developers working inside WordPress.<\/p>\n\n<h3>Why use Admin Code Search?<\/h3>\n\n<p>Searching through plugin and theme files manually is slow and often requires FTP, file manager access, or local copies.<\/p>\n\n<p>Admin Code Search brings that functionality directly into wp-admin, allowing you to:<\/p>\n\n<ul>\n<li>Search plugin and theme code instantly  <\/li>\n<li>Locate functions, hooks, and strings across files  <\/li>\n<li>Debug third-party plugins more efficiently  <\/li>\n<li>Work directly on live environments without leaving WordPress<\/li>\n<\/ul>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>Search inside active plugins, themes, and MU plugins<\/li>\n<li>Case-sensitive or case-insensitive search<\/li>\n<li>Partial match or exact line match<\/li>\n<li>Custom file extensions (e.g. php, js, css)<\/li>\n<li>Line-by-line scanning for better performance on large codebases<\/li>\n<li>Displays file path, line number, and highlighted match<\/li>\n<li>Excludes common heavy directories (vendor, node_modules, uploads, cache, .git, .svn)<\/li>\n<li>Admin-only access for security<\/li>\n<\/ul>\n\n<h3>Typical Use Cases<\/h3>\n\n<ul>\n<li>Locate where a function or hook is defined<\/li>\n<li>Find all occurrences of a specific string<\/li>\n<li>Debug custom integrations or third-party plugins<\/li>\n<li>Debug issues without FTP access  <\/li>\n<li>Quickly explore unfamiliar codebases without leaving wp-admin<\/li>\n<\/ul>\n\n<h3>Who is this for?<\/h3>\n\n<ul>\n<li>WordPress developers  <\/li>\n<li>Freelancers working on client sites  <\/li>\n<li>Agencies maintaining multiple projects  <\/li>\n<li>Anyone who needs quick code search inside WordPress<\/li>\n<\/ul>\n\n<h3>Notes<\/h3>\n\n<p>Large searches may take longer on sites with many plugins or large codebases. Results are processed in real time.<\/p>\n\n<h4>Privacy<\/h4>\n\n<p>This plugin does not send any data to external services.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/<\/code><\/li>\n<li>Activate the plugin through the Plugins screen in WordPress<\/li>\n<li>Go to Tools &gt; Code Search<\/li>\n<li>Enter a search term and run a search<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"who%20can%20use%20this%20plugin%3F\"><h3>Who can use this plugin?<\/h3><\/dt>\n<dd><p>Only administrators or users with the <code>manage_options<\/code> capability.<\/p><\/dd>\n<dt id=\"what%20files%20are%20searched%3F\"><h3>What files are searched?<\/h3><\/dt>\n<dd><p>The plugin scans active plugin files, the active theme, the parent theme (if different), and MU plugins.<\/p><\/dd>\n<dt id=\"what%20is%20the%20difference%20between%20partial%20match%20and%20exact%20line%20match%3F\"><h3>What is the difference between partial match and exact line match?<\/h3><\/dt>\n<dd><p>Partial match finds the search term anywhere within a line. Exact line match only returns results where the entire trimmed line exactly matches the search term.<\/p><\/dd>\n<dt id=\"can%20i%20search%20file%20types%20other%20than%20php%3F\"><h3>Can I search file types other than PHP?<\/h3><\/dt>\n<dd><p>Yes. You can enter comma-separated extensions such as <code>php,js,css,inc<\/code>.<\/p><\/dd>\n<dt id=\"will%20this%20affect%20site%20performance%3F\"><h3>Will this affect site performance?<\/h3><\/dt>\n<dd><p>Search runs on demand and only when triggered by an admin. On very large sites, searches may take a few seconds.<\/p><\/dd>\n<dt id=\"does%20it%20search%20wordpress%20core%20files%3F\"><h3>Does it search WordPress core files?<\/h3><\/dt>\n<dd><p>No. The plugin is limited to plugins, themes, and MU plugins.<\/p><\/dd>\n<dt id=\"is%20this%20plugin%20safe%20to%20use%20on%20production%20sites%3F\"><h3>Is this plugin safe to use on production sites?<\/h3><\/dt>\n<dd><p>Yes. It is read-only and does not modify any files or data.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Added whole word match option.<\/li>\n<li>Renamed exact line match option to \u201cMatch entire line exactly\u201d for clarity.<\/li>\n<li>Improved match mode labeling in the search results.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Added partial match and exact line match options.<\/li>\n<li>Added MU Plugins scanning option.<\/li>\n<li>Improved search controls for better precision.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added case-sensitive search option.<\/li>\n<li>Added result count summary.<\/li>\n<li>Improved scanner handling for readable files.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial public release.<\/li>\n<\/ul>","raw_excerpt":"Search code across active plugins, themes, and MU plugins directly from the WordPress admin.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/292502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=292502"}],"author":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/marbak"}],"wp:attachment":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=292502"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=292502"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=292502"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=292502"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=292502"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=292502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}