LD_Groups_Membership
Class to create the instance.
Description #
Source #
Changelog #
Version | Description |
---|---|
3.2.0 | Introduced. |
Methods #
- __construct — Public constructor for class
- add_data_columns — Adds the protection columns in the table listing.
- add_debug_message — Add debug message to array.
- display_custom_bulk_edit — Display bulk edit on table listing
- get_access_denied_message — Get Group Membership access denied message.
- get_excluded_user_roles — Get Group Membership excluded user roles.
- get_global_included_post_types — Get the managed membership post types.
- get_instance — Get or create instance object of class.
- get_metabox_instance — Get Group Membership post metabox instance.
- get_post_groups_compare — Get the managed membership post groups compare.
- get_post_included_groups — Get the managed membership post groups.
- init_global_settings — Load the Groups Membership Global settings
- init_post_settings — Get Group Membership Post metabox setting
- init_vars — Initialize runtime vars.
- is_excluded_user_role — Check if user_role is excluded by membership logic.
- is_included_post_type — Check if post type is managed by membership logic.
- is_post_blocked — Check if Post is enabled and if the post type is included in the global settings.
- is_user_blocked — Check if User enrolled groups against Post and Membership settings.
- is_user_in_post_groups — Check if user if in the associated post membership groups.
- on_load — Called when the Post is Added or Edited.
- on_load_edit — Call via the WordPress load sequence for admin pages.
- output_debug_messages — Output debug message.
- posts_custom_column — Show the protection columns in the table listing.
- save_post — Called when the Post is Saved.
- save_post_bulk_edit — Save bulk edit changes.
- the_content_filter — Start the logic to filter the content.