Description
What This Prompt Does
Finds media files with no post parent and no references in any post content — candidates for deletion.
The Prompt
Copy everything below and paste it into Claude with your WordPress MCP connection active:
Using WordPress MCP, find media files that aren't being used anywhere on my site: 1. Get up to 100 media attachments using wordpress-mcp-get-attachments (per_page=100) 2. For each attachment, check if it's set as a featured image on any post — look at the post_parent field and check if any posts reference it via _thumbnail_id 3. Also check if the attachment URL appears in any post content using wordpress-mcp-search-content 4. List all media files that have no post parent AND don't appear in any post content 5. Show: File name, file type, file size if available, upload date Do NOT delete anything. Find and list only. I'll decide what to remove.
How to Use It
- Connect Claude to your WordPress site via MCP (setup guide here)
- Copy the prompt above
- Paste it into Claude and press Enter
- Claude will run the audit and return a detailed report
No changes will be made to your site. These prompts are read-only audits.
ACF Field Groups & Fields
Prompt Details
Location Rules: post_type == product
Model Compatibility (model_compatibility) checkbox
No value set
Related Prompts (related_prompts) relationship
No value set
Effectiveness Score (effectiveness_score) number
No value set
Complexity Level (complexity_level) select
No value set
Industry Focus (industry_focus) select
No value set
Last Tested (last_tested) date_picker
No value set
Times Used (times_used) number
No value set
Example Input (example_input) textarea
No value set
Example Output (example_output) textarea
No value set

Reviews
There are no reviews yet.