WordPress / API Reference
mepr_rules_create
Tool tool. Create a MemberPress access rule to protect content
This is a read-only tool: it returns mepr rules create for your WordPress account. It changes nothing.
Ask Claude
You do not call this tool yourself. Ask for the outcome and the client picks the tool:
Mepr rules create in my WordPress account for [mepr type], [mepr content], [memberships].
It takes 3 required and 10 optional parameters.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
mepr_type | string | Yes | Mepr Type |
mepr_content | string | Yes | Mepr Content |
memberships | array | Yes | Memberships |
drip_enabled | boolean | No | Drip Enabled |
drip_amount | integer | No | Drip Amount |
drip_type | string | No | Drip Type |
drip_after | string | No | Drip After |
expires_enabled | boolean | No | Expires Enabled |
expires_amount | integer | No | Expires Amount |
expires_type | string | No | Expires Type |
unauth_excerpt_type | string | No | Unauth Excerpt Type |
unauth_message_type | string | No | Unauth Message Type |
unauth_message | string | No | Unauth Message |
Related WordPress tools
mepr_rules_lista11y_audit_pagea11y_check_alt_textsa11y_check_aria_landmarksa11y_check_color_contrasta11y_check_form_labels
Start free — 30 tool calls a month
No card required. Connect Google Ads, Meta Ads, GA4 or Search Console and ask Claude for the outcome — it picks the tool.