Skip to main content
Cookbook Maintenance Orbit Fox

Find Out Which Orbit Fox Modules You Use and Turn Off the Ones You Don’t with AI

Active Orbit Fox modules checked for real use where they can be, and only the ones you pick turned off, with a second yes for any in use.

Difficulty Intermediate
Time ~10 min

Prerequisites

A site connected to WPVibe running Orbit Fox 3.0.10 or newer (tested on 3.0.14, free) on WordPress 6.9 or newer, with an administrator account.

The prompt
My WordPress site uses Orbit Fox. Tell me which of its modules are on, which ones my site actually uses, and help me turn off the ones I don't use. Don't turn any module on.

1. Run discover_abilities with category orbit-fox. If either orbit-fox/list-modules or orbit-fox/configure-module is missing, stop and tell me to install or update the free Orbit Fox plugin (3.0.10 or newer, on WordPress 6.9 or newer).
2. Run orbit-fox/list-modules. List the modules that are on (active true), each with one line from its description, then the ones that are off. Only modules available on this site are listed: the Elementor widgets show only when Elementor is active.
3. For each active module below, check whether my site uses it, with run_wp_cli (these only read):
- header-footer-scripts: theme mod get obfx_header_scripts obfx_footer_scripts, and db query "SELECT post_id, meta_key FROM {prefix}postmeta WHERE meta_key IN ('obfx-header-scripts', 'obfx-footer-scripts') AND meta_value != ''". Any value found is a script on my site, often tracking or analytics. Say whether it is sitewide or on which post IDs; don't print the code.
- menu-icons: db query "SELECT COUNT(*) AS items FROM {prefix}postmeta WHERE meta_key = 'obfx_menu_icon' AND meta_value != ''".
- elementor-widgets: db query "SELECT p.ID, p.post_title, p.post_status FROM {prefix}posts p JOIN {prefix}postmeta m ON m.post_id = p.ID WHERE p.post_type != 'revision' AND m.meta_key = '_elementor_data' AND (m.meta_value LIKE '%widgetType___obfx-%' OR m.meta_value LIKE '%widgetType___content_form_%' OR m.meta_value LIKE '%widgetType___eaw%' OR m.meta_value LIKE '%widgetType___wp-widget-woo-%' OR m.meta_value LIKE '%widgetType___wp-widget-eaw-%')". Also run option get sidebars_widgets and list any widget area other than wp_inactive_widgets holding an id that starts with woo-product-categories, woo-recent-products, woo-featured-products, woo-popular-products, woo-sale-products, woo-best-products or eaw-recent-posts: those are this module's widgets too.
- custom-fonts: db query "SELECT COUNT(*) AS fonts FROM {prefix}term_taxonomy WHERE taxonomy = 'obfx_custom_fonts'".
- social-sharing, reading-progress-bar, policy-notice: their settings from step 2 (policy-notice shows only with enable_policy_notice 1).
- post-duplicator, mystock-import, template-directory: admin tools with nothing on the front end (a Clone link in the posts and pages lists, image import from myStock, a template library). Report them as no sign of use.
- disable-comments, google-analytics (Analytics Integration), login-customizer, beaver-widgets, companion-legacy, svg-uploads and any active module not named in this step: always count them as in use, and don't turn them off in this chat. Tell me why: Disable Comments off brings back every existing comment, and comment forms on every post that allows comments; Analytics Integration off stops its Google Analytics tracking, and the module then drops out of list-modules, so the abilities can't turn it back on; the Login Page Customizer can also move my login page to a custom address, and turning it off would put the login back at wp-login.php; the Beaver Builder and theme add-on modules can hold sections of my pages; this chat doesn't check SVG Support's use. Tell me to change these in Orbit Fox's own dashboard if I want them off.
4. Report each active module as in use (and where: how many scripts, menu items, pages, fonts) or no sign of use, and what stops while it is off: scripts stop loading, menu icons disappear, its Elementor widgets and its widgets in widget areas stop loading on those pages, uploaded fonts stop loading, share buttons, the progress bar or the cookie notice disappear, the Clone link, myStock import or template library leave the admin. Ask me which to turn off, from these only: header-footer-scripts, menu-icons, elementor-widgets, custom-fonts, social-sharing, reading-progress-bar, policy-notice, post-duplicator, mystock-import, template-directory. Wait.
5. For any module I pick that is in use, tell me again what will stop and on which pages, and wait for a second yes for that module.
6. For each module I confirmed, and only from that list, run orbit-fox/configure-module with its module_id and active false. If it returns orbit_fox_module_always_active, tell me it can't be turned off.
7. Run orbit-fox/list-modules again and list each change so I can spot-check it. To turn one back on: orbit-fox/configure-module with its module_id and active true; its settings were kept.
Already connected?

Skip pasting the full prompt. Drop this into your AI on a site that already has WPVibe:

Run the “Find Out Which Orbit Fox Modules You Use and Turn Off the Ones You Don’t with AI” recipe from the WPVibe cookbook on my connected site.

Orbit Fox is a box of modules: share buttons, header and footer scripts, menu icons, Elementor widgets, custom fonts, a login page designer that can also move the login address, and more, several of them on from the day it was installed. Years later nobody remembers which ones the site relies on, so nothing gets turned off.

The AI lists every module that’s on and checks what each one does on your site: scripts it adds, menu icons, Elementor pages using its widgets, uploaded fonts. It turns off only the modules you pick, asks a second time for any in use, and never turns a module on. Disable Comments, Analytics Integration, the Login Page Customizer and a few others it leaves to Orbit Fox’s own dashboard.

Turning a module off keeps its settings, so turning it back on restores it, but while it’s off its work stops: tracking scripts in Header Footer Scripts stop loading, menu icons disappear, and its Elementor and sidebar widgets stop loading, since they register only while the module is on. The AI doesn’t show the scripts it finds, only where they are.

Outcome

You know which Orbit Fox modules your site uses and where, and the modules you picked are off, with their settings kept.