WPCode
93Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditio...
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 Wor …
Source Lens – Code Finder is a WordPress plugin designed for developers and site owners to locate code within their WordPress installations. It allows you to search for code snippets, functions, hooks, and more across themes, plugins, and the database, making it easier to manage and understand your site's codebase.
The plugin offers two main search modes: one for finding specific code strings and another for locating files by name. It supports various search types and can detect dynamically injected code, providing a comprehensive tool for anyone needing to navigate complex WordPress setups.
Best for: This plugin is suitable for developers and advanced users managing complex WordPress sites.
What it does well
Where it falls short
Source Lens – Code Finder is a useful tool for those who need to search and manage code within WordPress. Its comprehensive search capabilities make it beneficial for developers working with multiple themes and plugins.
optimatioseo's own description of Source Lens, lightly tidied.
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.
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.
Find where code lives in WordPress. Search functions, hooks, shortcodes and strings across themes and plugins.
add_action – Find all uses of the add_action functionwp_enqueue_script – Find where scripts are enqueuedGTM-XXXXXX – Find your Google Tag Manager container ID[contact-form] – Find where a shortcode is usedheader.php – Find all header.php filesfunctions.php – Find all functions.php filesstyle.css – Find all style.css fileselementor – Find all files with “elementor” in the nameOther plugins for developer tooling.
Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditio...
Easily add tracking code snippets, conversion pixels, or other scripts required by third party services for an...
Duplicate post, post order, image resize, email via SMTP, admin menu editor, custom css / code, disable gutenb...
Create custom "Shortcodes" easily for HTML, JavaScript, CSS code snippets and use the shortcodes wit...
Add PHP code to your pages and posts easily using shortcodes.
An easy, clean, and simple way to enhance your site with code snippets.