@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix content: <http://purl.org/rss/1.0/modules/content/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<https://lhero.org/portfolio/lh-membership/>
  a sioc:Post ;
  dc:title "Abilities" ;
  dcterms:identifier 150305 ;
  dc:modified "2026-10-15T00:17:50Z"^^xsd:dateTime ;
  dc:created "2026-10-15T00:17:50Z"^^xsd:dateTime ;
  sioc:link <https://lhero.org/portfolio/lh-membership/abilities/> ;
  sioc:has_creator <https://lhero.org/author/1/#account> ;
  sioc:has_container <https://lhero.org/#posts> ;
  content:encoded "<ul class=\"lh_portfolio-meta\"><li><strong>Part of:</strong> <a href=\"https://lhero.org/portfolio/lh-membership/\">LH Membership</a></li></ul><div class=\"lh_portfolio-ability-reference\"><ul class=\"lh_portfolio-ability-reference-index\"><li><a href=\"#ability-get-membership-status\"><code>get-membership-status</code></a> Get Membership Status</li><li><a href=\"#ability-list-members\"><code>list-members</code></a> List Members</li></ul><section class=\"lh_portfolio-ability-reference-ability\" id=\"ability-get-membership-status\"><h2>Get Membership Status</h2><p class=\"lh_portfolio-ability-reference-meta\"><code>lh-membership/get-membership-status</code> <span class=\"lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-readonly\">Read-only</span> <span class=\"lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-idempotent\">Idempotent</span></p><p>Returns whether a given user is a member of this site, and their member type, based on the <code>lh_membership_member_type</code> taxonomy. Requires <code>edit_users</code>. Pass <code>site_id</code> to act on another site you belong to.</p><figure class=\"wp-block-table lh_portfolio-ability-reference-params\"><table><thead><tr><th>Parameter</th><th>Type</th><th>Required</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td><code>user_id</code></td><td>integer</td><td>Yes</td><td></td><td>The WordPress user ID to check.</td></tr><tr><td><code>site_id</code></td><td>integer</td><td>No</td><td></td><td>Optional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.</td></tr></tbody></table></figure></section><section class=\"lh_portfolio-ability-reference-ability\" id=\"ability-list-members\"><h2>List Members</h2><p class=\"lh_portfolio-ability-reference-meta\"><code>lh-membership/list-members</code> <span class=\"lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-readonly\">Read-only</span> <span class=\"lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-idempotent\">Idempotent</span></p><p>Lists users who hold a term in the <code>lh_membership_member_type</code> taxonomy on this site (i.e. are members), optionally filtered by member type slug. Requires <code>edit_users</code>. Pass <code>site_id</code> to act on another site you belong to.</p><figure class=\"wp-block-table lh_portfolio-ability-reference-params\"><table><thead><tr><th>Parameter</th><th>Type</th><th>Required</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td><code>type_slug</code></td><td>string</td><td>No</td><td></td><td>Optional. Restrict to a single member type term slug. Omit to return members of all types.</td></tr><tr><td><code>site_id</code></td><td>integer</td><td>No</td><td></td><td>Optional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.</td></tr></tbody></table></figure></section></div>"^^rdf:XMLLiteral ;
  sioc:content "Part of: LH Membershipget-membership-status Get Membership Statuslist-members List MembersGet Membership Statuslh-membership/get-membership-status Read-only IdempotentReturns whether a given user is a member of this site, and their member type, based on the lh_membership_member_type taxonomy. Requires edit_users. Pass site_id to act on another site you belong to.ParameterTypeRequiredDefaultDescriptionuser_idintegerYesThe WordPress user ID to check.site_idintegerNoOptional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.List Memberslh-membership/list-members Read-only IdempotentLists users who hold a term in the lh_membership_member_type taxonomy on this site (i.e. are members), optionally filtered by member type slug. Requires edit_users. Pass site_id to act on another site you belong to.ParameterTypeRequiredDefaultDescriptiontype_slugstringNoOptional. Restrict to a single member type term slug. Omit to return members of all types.site_idintegerNoOptional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site." ;
  sioc:topic <https://lhero.org/?taxonomy=author&term=cap-1> .

<https://lhero.org/author/1/#account> rdfs:seeAlso <https://lhero.org/author/1/?feed=lhrdf&format=turtle> .
<https://lhero.org/?taxonomy=author&term=cap-1> rdfs:seeAlso <https://lhero.org/?taxonomy=author&term=cap-1&feed=lhrdf&format=turtle> .
