API Reference

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

ParameterTypeRequiredDescription
mepr_typestringYesMepr Type
mepr_contentstringYesMepr Content
membershipsarrayYesMemberships
drip_enabledbooleanNoDrip Enabled
drip_amountintegerNoDrip Amount
drip_typestringNoDrip Type
drip_afterstringNoDrip After
expires_enabledbooleanNoExpires Enabled
expires_amountintegerNoExpires Amount
expires_typestringNoExpires Type
unauth_excerpt_typestringNoUnauth Excerpt Type
unauth_message_typestringNoUnauth Message Type
unauth_messagestringNoUnauth Message

Related WordPress tools

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.