Title: Source Lens – Code Finder
Author: optimatioseo
Published: <strong>2026-يىلى 15-يانۋار</strong>
Last modified: 2026-يىلى 15-يانۋار

---

قىستۇرما ئىزدە

![](https://ps.w.org/source-lens-code-finder/assets/banner-772x250.png?rev=3440665)

![](https://ps.w.org/source-lens-code-finder/assets/icon-256x256.png?rev=3440665)

# Source Lens – Code Finder

 يازغۇچى [optimatioseo](https://profiles.wordpress.org/optimatioseo/)

[چۈشۈر](https://downloads.wordpress.org/plugin/source-lens-code-finder.1.0.2.zip)

 * [تەپسىلاتلار](https://ug.wordpress.org/plugins/source-lens-code-finder/#description)
 * [باھالاشلار](https://ug.wordpress.org/plugins/source-lens-code-finder/#reviews)
 *  [ئورنىتىش](https://ug.wordpress.org/plugins/source-lens-code-finder/#installation)
 * [ئىجادىيەت](https://ug.wordpress.org/plugins/source-lens-code-finder/#developers)

 [قوللاش](https://wordpress.org/support/plugin/source-lens-code-finder/)

## چۈشەندۈرۈش

**Source Lens – Code Finder** is the ultimate code search tool for WordPress. It
helps developers and site owners locate where any code lives in their WordPress 
installation – whether it’s in theme files, plugin files, the database, or even 
dynamically injected by other plugins.

#### Two Powerful Search Modes

**1. Find Code/Strings** – Search for any text, function, hook, shortcode, or code
snippet inside files. Perfect for finding where a specific piece of code is used.

**2. Find File by Name** – Search for files by their name (e.g., `header.php`, `
functions.php`, `style.css`) and view their full source code instantly.

#### Key Features

 * **Search Everywhere** – Search across themes, plugins, WordPress core, and the
   database
 * **View Full Source Code** – Find any file by name and view its complete source
   code
 * **Find Dynamically Injected Code** – Detects code added by other plugins (like
   Google Tag Manager scripts from code snippet plugins)
 * **Multiple Search Types** – Auto-detect, text string, function, hook, shortcode,
   class, regex, constant, CSS, and HTML
 * **Page Builder Support** – Search inside Elementor, Divi, Beaver Builder, and
   Gutenberg blocks
 * **WooCommerce Support** – Search products, orders, settings, and WooCommerce-
   specific data
 * **Code Snippets Detection** – Finds code stored in popular snippet plugins (WPCode,
   Code Snippets, Insert Headers and Footers, etc.)
 * **Safe & Read-Only** – Never modifies any files on your server

### Short Description

Find where code lives in WordPress. Search functions, hooks, shortcodes and strings
across themes and plugins.

### How to Use

#### Finding Code or Text Strings

 1. Go to **Tools  Source Lens – Code Finder**
 2. Make sure **«Find Code/Strings»** mode is selected (default)
 3. Enter your search query. Examples:
 4.  * `add_action` – Find all uses of the add_action function
     * `wp_enqueue_script` – Find where scripts are enqueued
     * `GTM-XXXXXX` – Find your Google Tag Manager container ID
     * `[contact-form]` – Find where a shortcode is used
     * Any text or code snippet you want to locate
 5. Choose a **Search Type** (Auto Detect works for most cases)
 6. Choose a **Search Scope** (Everything, specific theme, specific plugin, etc.)
 7. Click **Search** to find all matches

#### Finding Files by Name

 1. Go to **Tools  Source Lens – Code Finder**
 2. Click **«Find File by Name»** mode
 3. Enter a file name. Examples:
 4.  * `header.php` – Find all header.php files
     * `functions.php` – Find all functions.php files
     * `style.css` – Find all style.css files
     * `elementor` – Find all files with «elementor» in the name
 5. Click **Search** to see matching files
 6. Click **«View Source Code»** on any file to see its full contents

#### Advanced Options

 * **Case Sensitive** – Match exact letter casing
 * **Whole Word** – Only match complete words
 * **Regex Mode** – Use regular expressions for complex patterns
 * **Search Encoded** – Find base64 encoded content
 * **Search Runtime** – Find dynamically injected code from other plugins

## ئورنىتىش

 1. Upload the `source-lens-code-finder` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the «Plugins» menu in WordPress.
 3. Navigate to **Tools  Source Lens – Code Finder** to start searching.

## FAQ

### Does the plugin modify files?

No. Source Lens – Code Finder is completely read-only and never changes any files
on your server. It only reads and displays code.

### Can I find code added by other plugins?

Yes! The plugin can detect code injected by other plugins through WordPress hooks.
This includes tracking codes (Google Tag Manager, Analytics), code snippet plugins(
WPCode, Code Snippets), and more.

### What file types can I search?

PHP, JavaScript, CSS, HTML, JSON, XML, Markdown, SCSS, LESS, and template files.

### Can I view the full source code of a file?

Yes! Use the «Find File by Name» mode, search for the file, and click «View Source
Code» to see the complete file contents.

### What PHP version do I need?

The plugin requires PHP 7.4 or later.

### Is it safe to use on a live site?

Yes, the plugin is completely safe. It only reads files and database content – it
never writes or modifies anything.

## باھالاشلار

![](https://secure.gravatar.com/avatar/9ca84ab3f60b00b433bbdd76d162e5b48078f717f1e6de50f6e92f57ed7b869e?
s=60&d=retro&r=g)

### 󠀁[I did not expect it to work this good!](https://wordpress.org/support/topic/i-did-not-expect-it-to-work-this-good/)󠁿

 [sayeeh](https://profiles.wordpress.org/sayeeh/) 2026-يىلى 30-ئاۋغۇست

It saved me from hours looking for a piece of code I could not find! Great plugin
so far 🙂

 [ 1 باھالاشنىڭ ھەممىنى ئوقۇش ](https://wordpress.org/support/plugin/source-lens-code-finder/reviews/)

## تۆھپىكار ۋە ئىجادكار

«Source Lens – Code Finder» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا
تۆھپە قوشقان.

تۆھپىكار

 *   [ optimatioseo ](https://profiles.wordpress.org/optimatioseo/)

[«Source Lens – Code Finder» نى تىلىڭىزغا تەرجىمە قىلىڭ](https://translate.wordpress.org/projects/wp-plugins/source-lens-code-finder)

### ئىجادىيەتكە قىزىقامسىز؟

[كودقا كۆز يۈگۈرتۈپ](https://plugins.trac.wordpress.org/browser/source-lens-code-finder/)،
[SVN خەزىنە](https://plugins.svn.wordpress.org/source-lens-code-finder/) تەكشۈرۈپ
ياكى [RSS](https://plugins.trac.wordpress.org/log/source-lens-code-finder/?limit=100&mode=stop_on_copy&format=rss)
ئارقىلىق [ئىجادىيەت خاتىرىسى](https://plugins.trac.wordpress.org/log/source-lens-code-finder/)
گە مۇشتەرى بولغىلى بولىدۇ.

## ئۆزگىرىش خاتىرىسى

#### 1.0.2

 * Two search modes: Find Code/Strings and Find File by Name
 * Search across themes, plugins, WordPress core, and database
 * View full source code of any file
 * Detect dynamically injected code from other plugins
 * Support for page builders (Elementor, Divi, Beaver Builder, Gutenberg)
 * WooCommerce integration
 * Code snippets plugin detection
 * Advanced search options (regex, case sensitive, whole word)

## Meta

 *  Version **1.0.2**
 *  ئاخىرقى يېڭىلانغان ۋاقىت **8 ئاي بۇرۇن**
 *  ئاكتىپ ئورنىتىش سانى **200+**
 *  WordPress نەشرى ** 5.8 ياكى يۇقىرى **
 *  **6.9.7** دا سىنالغان
 *  PHP نەشرى ** 7.4 ياكى يۇقىرى **
 *  تىل
 * [English (US)](https://wordpress.org/plugins/source-lens-code-finder/)
 *  [ئالىي كۆرۈنۈش](https://ug.wordpress.org/plugins/source-lens-code-finder/advanced/)

## دەرىجە

 5/5 يۇلتۇز

 *  [  1 5-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/source-lens-code-finder/reviews/?filter=5)
 *  [  0 4-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/source-lens-code-finder/reviews/?filter=4)
 *  [  0 3-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/source-lens-code-finder/reviews/?filter=3)
 *  [  0 2-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/source-lens-code-finder/reviews/?filter=2)
 *  [  0 1-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/source-lens-code-finder/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/source-lens-code-finder/reviews/#new-post)

[بارلىق ئىنكاسنى كۆرسەت](https://wordpress.org/support/plugin/source-lens-code-finder/reviews/)

## تۆھپىكار

 *   [ optimatioseo ](https://profiles.wordpress.org/optimatioseo/)

## قوللاش

چۈشەندۈرۈشىڭىز بارمۇ؟ ياردەم لازىممۇ؟

 [قوللاش مۇنبىرىنى كۆرسەت](https://wordpress.org/support/plugin/source-lens-code-finder/)