Content Hooks

wishlistmember_add_categories_levels (action)

Called when a category is added to one or more levels

Parameters:

  • $id – Category ID
  • $levels – Membership Levels

wishlistmember_remove_categories_levels (action)

Called when a category is removed from one or more levels

Parameters:

  • $id – Category ID
  • $levels – Membership Levels

wishlistmember_add_pages_levels (action)

Called when a page is added to one or more levels

Parameters:

  • $id – Page ID
  • $levels – Membership Levels

wishlistmember_remove_pages_levels (action)

Called when a page is removed from one or more levels

Parameters:

  • $id – Page ID
  • $levels – Membership Levels

wishlistmember_add_posts_levels (action)

Called when a post is added to one or more levels

Parameters:

  • $id – Post ID
  • $levels – Membership Levels

wishlistmember_remove_posts_levels (action)

Called when a post is removed from one or more levels

Parameters:

  • $id – Post ID
  • $levels – Membership Levels

wishlistmember_add_comments_levels (action)

Called when a post/page comments is added to one or more levels

Parameters:

  • $id – Post/Page ID
  • $levels – Membership Levels

wishlistmember_remove_comments_levels (action)

Called when a post/page comments is removed from one or more levels

Parameters:

  • $id – Post/Page ID
  • $levels – Membership Levels