ZenCommunity 3.1.0 has 87 actions and 169 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when ZenCommunity fires an action
add_action( 'zencommunity/feed/published', function( $feed_id, $merge ) {
// Your code runs here.
}, 10, 2 );
// Change a value ZenCommunity is about to use
add_filter( 'zencommunity/app/title', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Fires when a post becomes published after being created in another status. * Also fired when a pending post is approved. */ do_action( 'zencommunity/feed/published', $feed_id, array_merge( $old_data, [ 'status' => 'published' ] ) ); -
/** * Fires when a report is filed (or an existing one is re-filed). */ do_action( 'zencommunity/report/created', $report_id, $object_type, $object_id, $reporter_id, true ); -
/** * This action is documented in wp-admin/includes/privacy-tools.php */ do_action( 'wp_privacy_personal_data_export_file', $request_id ); -
/** * Filters the community page title (the first <title> in the document). */ apply_filters( 'zencommunity/app/title', Helper::get_setting( 'name', __('ZenCommunity', 'zencommunity') ) ); -
/** * A member set a new password through the emailed link. */ do_action( 'zencommunity/auth/after_reset_password', $user ); -
/** * A member account was created (by the public sign-up or by an administrator * adding a member). */ do_action( 'zencommunity/auth/after_signup', (int) $user_id ); -
/** * Before a reset link is looked for. Return a WP_REST_Response to refuse the * request (a throttle, a missing captcha); null lets it carry on. */ apply_filters( 'zencommunity/auth/before_lost_password', null, $identifier, $request ); -
/** * Before the password is checked. Return a WP_REST_Response to refuse the * attempt (a lockout, a missing captcha); null lets it carry on. */ apply_filters( 'zencommunity/auth/before_signin', null, $user_identifier, $request ); -
/** * Before a visitor's sign-up is processed. Return a WP_REST_Response to refuse * it; null lets it carry on. Only the public sign-up goes through here, not an * administrator adding a member. */ apply_filters( 'zencommunity/auth/before_signup', null, $request ); -
/** * A reset link was asked for. Fires whether or not an account matched, so a * listener cannot be used to tell the two apart from the outside. */ do_action( 'zencommunity/auth/lost_password_requested', $user ?: null, $identifier ); -
/** * A member signed out from the community. */ do_action( 'zencommunity/auth/signed_out', $user_id ); -
/** * A sign-in did not succeed. */ do_action( 'zencommunity/auth/signin_failed', $user_identifier, $user ); -
/** * A sign-in succeeded and the session cookie is set. */ do_action( 'zencommunity/auth/signin_succeeded', $user ); -
/** * Filters whether the signed-in member is shut out of the community (a * site-wide suspension or ban). Return a WP_Error to refuse. */ apply_filters( 'zencommunity/authorization/blocked', null, get_current_user_id() ); -
/** * Lets an extension leave comments out of the count (the count is cached on * the post and shown to everyone, so it covers published comments only). */ do_action( 'zencommunity/comment/count/qb', $qb, $feed_id, $comment_id ); -
/** * Filters whether a comment's author is hidden. */ apply_filters( 'zencommunity/comment/hide_author', false, $comment_id ); -
/** * Filters the row written for a new comment. Extensions add their own columns * (e.g. a review status). */ apply_filters( 'zencommunity/comment/insert_row', [ 'user_id' => $user_id, 'feed_id' => $feed_id, 'parent_id' => $comment_id, 'meta' => $data['meta'], 'ip' => Helper::user_ip(), 'created_at' => current_time( 'mysql' , true ), 'updated_at' => current_time( 'mysql', true ), ], $feed_id, $user_id, $feed_data ); -
/** * Lets an extension limit which comments of the post this user gets (e.g. hide * comments held for review from people who may not see them). */ do_action( 'zencommunity/comment/list/qb', $qb, $feed_id, $user_id, $feed_data ); -
/** * Filters whether notification emails carry sign-in links. */ apply_filters( 'zencommunity/email/magic_links', $on ); -
/** * Lets an extension validate its own fields on the payload before the post is * written (e.g. Pro's required topics). Throw a ZencommunityException to * refuse. */ do_action( 'zencommunity/feed/create/validate', $data, $group_id, (int) $data['user_id'] ); -
/** * Fires once the post row exists, before its rendered content and media are * set. Extensions store what they keep next to a post here (topics, tags). */ do_action( 'zencommunity/feed/inserted', $id, array_merge( $data, $extension_data ), (int) $data['user_id'] ); -
/** * Filters the status a post gets when it is published. */ apply_filters( 'zencommunity/feed/publish_status', $status, $author_id, $group_id, $context ); -
/** * Filters where a post now lives, when it was moved (merged into another * post). Return [ 'feed_id' => id ] and the app follows it. The post was found * with the same visibility rules as any other, so this tells nobody about a * post they could not already open. */ apply_filters( 'zencommunity/feed/redirect', null, $data ); -
/** * Fires after every save of a post, a new post's own follow-up update included * (check $is_created). */ do_action( 'zencommunity/feed/saved', $feed_id, array_merge( $data, $extension_data ), $old_data, $is_created ); -
/** * Lets an extension validate its own fields on an edit before it is written. * Throw a ZencommunityException to refuse. */ do_action( 'zencommunity/feed/update/validate', $data, $feed_id, $old_data, (int) $user_id ); -
/** * Flush the rewrite rules after install or update. */ do_action( 'zencommunity/flush_rewrite_rules' ); -
/** * Requests per window the community allows: one number for a signed-in member, * one for a visitor. Never lower than GemSecurity's own limit. */ apply_filters( 'zencommunity/gemsecurity/rest_limits', [ 'member' => $mine, 'visitor' => $theirs ] ); -
/** * How many of this kind of request one address may make, and over how many * seconds. */ apply_filters( 'zencommunity/gemsecurity/throttle', [ static::THROTTLE_LIMIT, static::THROTTLE_WINDOW ], $action ); -
/** * Lets an extension refuse a move (e.g. Pro's Subgroups, whose children belong * to their parent and are never in a category). */ do_action( 'zencommunity/group/move/validate', $group_id, $category_id, $old_category_id ); -
/** * Fires after a group has moved to another category. */ do_action( 'zencommunity/group/moved', $group_id, $category_id, $old_category_id ); -
/** * Filters a label. */ apply_filters( 'zencommunity/label', $text, $key, $form, $lower ); -
/** * Turn link previews off (the hover card then shows only the URL). */ apply_filters( 'zencommunity/link_preview/enabled', true ); -
/** * Assign a notification type to a preference category, for types the core does * not know. The category must be one of * zencommunity_notification_pref_categories(). */ apply_filters( 'zencommunity/notification/category', $category, $type ); -
/** * Lets another plugin (a shop with orders, say) refuse a deletion. Return a * message to refuse. */ apply_filters( 'zencommunity/privacy/cannot_delete', '', $user ); -
/** * Filters the ZenCommunity personal-data exporters. An extension that keeps * member data adds an entry; the callback is a standard WordPress exporter `( * string $email, int $page ) : array{data:array,done:bool}`. */ apply_filters( 'zencommunity/privacy/exporters', $list ); -
/** * Filters whether the "My store" tab appears on a member's own profile. */ apply_filters( 'zencommunity/profile_hub/store_enabled', $on ); -
/** * Filters how the reactions are shown. */ apply_filters( 'zencommunity/reaction/definitions', $definitions ); -
/** * Filters the most reactions that can be visible in the picker. */ apply_filters( 'zencommunity/reaction/max_visible', static::DEFAULT_MAX_VISIBLE ); -
/** * Filters the reaction types that are accepted. */ apply_filters( 'zencommunity/reaction/types', $types, $include_archived ); -
/** * Filters whether a member can report a piece of content. For posts and * comments this starts from the core check; for any other object type it * starts false, so the extension that added the type must say yes. */ apply_filters( 'zencommunity/report/can_report', $can, $object_type, $object_id, $reporter_id ); -
/** * Filters whether a report with this reason must come with a description. Off * unless an extension that lets the site choose its reasons says so. */ apply_filters( 'zencommunity/report/note_required', false, $reason ); -
/** * Filters the kinds of content that can be reported. An extension that adds * one also answers `zencommunity/report/can_report` for it. */ apply_filters( 'zencommunity/report/object_types', self::ALLOWED_OBJECT_TYPES ); -
/** * Filters the reasons a report can give. Keep 'other' in the list: it is what * an unknown reason falls back to. */ apply_filters( 'zencommunity/report/reasons', self::ALLOWED_REASONS ); -
/** * Fires after a report's status is changed by a moderator. */ do_action( 'zencommunity/report/status_updated', $id, $status, $resolver_id ); -
/** * Known SPA route slugs for root-domain installs. Addons (e.g. the Academy LMS * integration) append their own slugs via this filter so deep links / * refreshes on their routes resolve to the SPA template. */ apply_filters( 'zencommunity/rewrite/app_slugs', [ 'signin', 'signup', 'reset-password', 'feed', 'groups', 'group', 'members', 'member', 'tickets', 'ticket', 'chat', 'live-chat', 'agent-activity', 'settings', ] ); -
/** * Filters whether a member is blocked from creating content. */ apply_filters( 'zencommunity/user/write_block', null, $user_id, $what ); -
do_action( 'zencommunity/attachments/after_delete', $files ); -
do_action( 'zencommunity/attachments/before_delete', $files ); -
apply_filters( 'zencommunity/schema/group_index', $this->groups_index_schema() ); -
apply_filters( 'zencommunity/user/select', [ 'pf.*' ] ); -
apply_filters( 'the_content', $post->post_content ); -
apply_filters( 'zencommunity/avatar_sync/use_gravatar', false, $user_id ); -
apply_filters( 'zencommunity/feed/index/allowed_order_by', [ 'created_at', 'updated_at', 'title', 'like_count', 'comment_count', 'id', 'trending' ] ); -
do_action( 'zencommunity/feed/single/qb', $qb ); -
apply_filters( 'zencommunity/group/default_data', $data, $category_id ); -
do_action( 'zencommunity/group/user_added', $group_id, $data ); -
apply_filters( 'zencommunity/member/role/data_to_update', $disabled_caps, $user_id ); -
do_action( 'zencommunity/member/role/updated', $user_id, $disabled_caps, $role_action ); -
apply_filters( 'zencommunity/member/role/validation/rules', [ 'role' => Sanitizer::STRING, 'action' => Sanitizer::STRING, ], $user_id, $data ); -
do_action( 'zencommunity/user/single/qb', $qb ); -
do_action( "{ZENCOMMUNITY_PLUGIN_SLUG}/after_template_part", $action_args['template_name'], $action_args['template_path'], $action_args['located'], $action_args['args'] ); -
do_action( "{ZENCOMMUNITY_PLUGIN_SLUG}/before_template_part", $action_args['template_name'], $action_args['template_path'], $action_args['located'], $action_args['args'] ); -
apply_filters( "{ZENCOMMUNITY_PLUGIN_SLUG}/get_template", $template, $template_name, $args, $template_path, $default_path ); -
apply_filters( "{ZENCOMMUNITY_PLUGIN_SLUG}/get_template_part", $template, $slug, $name ); -
apply_filters( "{ZENCOMMUNITY_PLUGIN_SLUG}/locate_template", $template, $template_name, $template_path ); -
apply_filters( "{ZENCOMMUNITY_PLUGIN_SLUG}/plugin_path", ZENCOMMUNITY_ROOT_DIR_PATH ); -
apply_filters( "{ZENCOMMUNITY_PLUGIN_SLUG}/template_path", ZENCOMMUNITY_PLUGIN_SLUG . '/' ); -
do_action( 'academy/course/after_enroll', $course_id, $existing->ID, $user_id ); -
do_action( 'admin_print_styles' ); -
apply_filters( 'wp_authenticate_user', $user, '' ); -
do_action( 'wp_login', $user->user_login, $user ); -
apply_filters( 'wp_mail', [ 'to' => 'noreply@invalid.invalid', 'subject' => '', 'message' => '', 'headers' => '', 'attachments' => [], ] ); -
apply_filters( 'wp_privacy_export_expiration', 3 * DAY_IN_SECONDS ); -
apply_filters( 'wp_privacy_personal_data_erasers', [] ); -
apply_filters( 'wp_privacy_personal_data_exporters', [] ); -
do_action( 'zencommunity_before_init' ); -
do_action( 'zencommunity_init' ); -
do_action( 'zencommunity_loaded' ); -
apply_filters( 'zencommunity-pro/email/template/schema', [ 'status' => [ 'description' => __( 'Status', 'zencommunity' ), 'type' => 'string', 'required' => false, 'sanitize_callback' => 'sanitize_text_field', ], 'subject' => [ 'description' => __( 'Subject', 'zencommunity' ), 'type' => 'string', 'required' => false, 'sanitize_callback' => 'sanitize_text_field', ], 'heading' => [ 'description' => __( 'Heading', 'zencommunity' ), 'type' => 'string', 'r... ); -
apply_filters( 'zencommunity-pro/email/template/settings/schema', [ 'from' => [ 'type' => 'object', 'required' => true, 'description' => __( 'From', 'zencommunity' ), 'properties' => [ 'email' => [ 'type' => 'string', 'description' => __( 'From email.', 'zencommunity' ), ], 'name' => [ 'type' => 'string', 'description' => __( 'From name.', 'zencommunity' ), ], ], 'required_properties' => [ 'email', 'name' ], 'default' => new stdClass(), ], 'footer_text' => [ ... ); -
apply_filters( "zencommunity/{$object_type}/index/query", $params ); -
apply_filters( "zencommunity/{$object_type}/index/sanitization_rules", [ 'page' => Sanitizer::INT, 'per_page' => Sanitizer::INT, 'search' => Sanitizer::STRING, 'status' => Sanitizer::STRING, 'order' => Sanitizer::STRING, 'order_by' => Sanitizer::STRING, 'category_id' => Sanitizer::INT, 'type' => Sanitizer::STRING, 'privacy' => Sanitizer::STRING, 'user_id' => Sanitizer::INT, 'is_guest' => Sanitizer::BOOL, 'current_user_can_post' => Sanitizer::BOOL, 'is_annonymous_e... ); -
do_action( "zencommunity/{$type}/{$action}", $group_id, $old_data ); -
do_action( "zencommunity/{$type}/deleted", $group_id ); -
do_action( "zencommunity/{$type}/mention/remove", $id, $removed, $content, $rendered_content ); -
do_action( "zencommunity/{$type}/mentioned", $id, $newly_mentioned, $content, $rendered_content ); -
apply_filters( "zencommunity/{$type}/wrapper/collection", $data ); -
apply_filters( "zencommunity/{$type}/wrapper/single", $group, $is_single ); -
apply_filters( 'zencommunity/academy/native_pages', \ZenCommunity\Addons\AcademyLms\Classes\Policy::global()['native_pages'] ); -
do_action( 'zencommunity/activate' ); -
do_action( 'zencommunity/addon/activate', $key, $addon ); -
do_action( 'zencommunity/addon/register', [ $this, 'register_addon' ] ); -
apply_filters( 'zencommunity/ai_agent/msgs/index/query', $params ); -
apply_filters( 'zencommunity/ai_agent/msgs/index/sanitization_rules', [ 'page' => Sanitizer::INT, 'per_page' => Sanitizer::INT, 'search' => Sanitizer::STRING, 'handler' => Sanitizer::STRING, 'order' => Sanitizer::STRING, 'order_by' => Sanitizer::STRING, ] ); -
apply_filters( 'zencommunity/allow_guest_upload/types', [ ] ); -
apply_filters( "zencommunity/assets{(empty($type)?'':'/'.$type)}/script_data", $data ); -
apply_filters( 'zencommunity/attachment/max_file_size_kb', 0, $media_type, $file_type ); -
apply_filters( 'zencommunity/attachment/max_image_size_kb', 2048 ); -
do_action( 'zencommunity/attachments/after_library_pick', $file_info, $wp_attachment_id ); -
do_action( 'zencommunity/attachments/after_upload', $file_info = static::by_id( $id ) ); -
apply_filters( 'zencommunity/attachments/allowed_media_types', [ 'site_logo' => [ 'img', 'svg' ], 'site_logo_dark' => [ 'img', 'svg' ], 'profile_avatar' => [ 'img' ], 'profile_cover' => [ 'img' ], 'group_featured' => [ 'img' ], 'group_cover' => [ 'img' ], 'group_icon' => [ 'img' ], 'feed_image' => [ 'img' ], 'comment_image' => [ 'img' ], 'event_cover' => [ 'img' ], 'menu_icon' => [ 'img' ], ] ); -
apply_filters( 'zencommunity/attachments/allowed_mime_map', [ 'img' => [ 'image/jpeg', 'image/png', 'image/webp', 'image/jpg', 'image/gif', 'image/bmp', ], 'svg' => [ 'image/svg+xml' ], 'pdf' => [ 'application/pdf'], 'docx' => [ 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' ], 'doc' => [ 'application/msword' ], 'csv' => [ 'text/csv', 'application/vnd.ms-excel' ], 'zip' => [ 'application/zip', 'application/x-zip-compressed', '... ); -
do_action( 'zencommunity/attachments/before_upload', $file, $media_type ); -
do_action( 'zencommunity/attachments/get/single', $data ); -
apply_filters( 'zencommunity/avatar_sync/meta_keys', $keys ); -
do_action( 'zencommunity/bg_process/exhausted', (string) ( $row['handler'] ?? '' ), json_decode( (string) ( $row['args'] ?? '{}' ), true ) ?: [] ); -
apply_filters( 'zencommunity/category/schema', [ 'name' => [ 'description' => __( 'Name of the item', 'zencommunity' ), 'type' => 'string', 'context' => [ 'view', 'edit', 'embed' ], 'maxLength' => 255, 'required' => true, 'sanitize_callback' => 'sanitize_text_field', ], 'slug' => [ 'description' => __( 'Slug identifier', 'zencommunity' ), 'type' => 'string', 'context' => [ 'view', 'edit', 'embed' ], 'maxLength' => 255, 'required' => false, ... ); -
apply_filters( 'zencommunity/command/register', $ins->commands ); -
apply_filters( 'zencommunity/comment/create/data', $data, $feed_data['group_id'], $user_id ); -
apply_filters( 'zencommunity/comment/create/sanitaization/rules', [ 'content' => Sanitizer::HTML, 'add_media_ids.*' => Sanitizer::INT, 'remove_media_ids.*' => Sanitizer::INT, ], $data, null ); -
apply_filters( 'zencommunity/comment/is_published', true, $comment_id ); -
apply_filters( 'zencommunity/comment/update/data', $data, $feed_data['group_id'], $user_id ); -
apply_filters( 'zencommunity/comment/update/sanitaization/rules', [ 'content' => Sanitizer::HTML, 'add_media_ids.*' => Sanitizer::INT, 'remove_media_ids.*' => Sanitizer::INT, ], $data, null ); -
apply_filters( 'zencommunity/comment/wrapper/collection', $data ); -
apply_filters( 'zencommunity/comment/wrapper/single', $comment ); -
apply_filters( 'zencommunity/email/body', $this->message(), $this ); -
apply_filters( 'zencommunity/email/digest_frequencies', [ 'instant' => __( 'Send right away', 'zencommunity' ), 'daily' => __( 'Daily digest', 'zencommunity' ), 'weekly' => __( 'Weekly digest', 'zencommunity' ), ] ); -
apply_filters( 'zencommunity/email/headers', [ 'Content-Type: text/html; charset=UTF-8', "From: {$site_name} <{$admin_email}>", ], $this ); -
apply_filters( 'zencommunity/email/subject', $this->merge_plain( (string) ( $this->template['subject'] ?? '' ) ), $this ); -
apply_filters( "zencommunity/email/template/{$this->event}", array_merge( $this->conv_template(), static::label_vars(), [ 'action_url' => $this->action_url() ?? '' ] ), $this->event_data ); -
apply_filters( 'zencommunity/email/template/create/sanitization_rules', [ 'event' => Sanitizer::STRING, 'subject' => Sanitizer::STRING, 'heading' => Sanitizer::STRING, 'status' => Sanitizer::STRING, 'template' => Sanitizer::HTML, ] ); -
do_action( 'zencommunity/email/template/created', $data ); -
do_action( 'zencommunity/email/template/deleted', $event ); -
apply_filters( 'zencommunity/email/template/index/query', $params ); -
apply_filters( 'zencommunity/email/template/index/sanitization_rules', [ 'page' => Sanitizer::INT, 'per_page' => Sanitizer::INT, 'search' => Sanitizer::STRING, 'order' => Sanitizer::STRING, 'order_by' => Sanitizer::STRING, 'event' => Sanitizer::STRING, ] ); -
apply_filters( 'zencommunity/email/template/registered', [] ); -
apply_filters( 'zencommunity/email/template/update/sanitization_rules', [ 'status' => Sanitizer::STRING, 'subject' => Sanitizer::STRING, 'heading' => Sanitizer::STRING, 'template' => Sanitizer::HTML, ] ); -
do_action( 'zencommunity/email/template/updated', $event, $updated_data, $old_data ); -
apply_filters( 'zencommunity/enqueueable/plugins', [ 'zencommunity', 'zencommunity-pro', 'zencommunity-live-chat', ] ); -
do_action( 'zencommunity/event/created', $id, $group_id, $data ); -
do_action( "zencommunity/feed/{$action}", $feed_id, $old_data ); -
do_action( 'zencommunity/feed/approved', $feed_id, $feed ); -
do_action( 'zencommunity/feed/comment_created', $new_comment_id, $feed_id, $user_id, $comment_id, $feed_data, $cmnt ); -
do_action( 'zencommunity/feed/comment_deleted', $comment_id, $feed_id, $user_id, $ids ); -
do_action( 'zencommunity/feed/comment_updated', $feed_id, $user_id, $comment_id ); -
apply_filters( 'zencommunity/feed/contentless_types', [ 'poll', 'event' ] ); -
apply_filters( 'zencommunity/feed/create/authorized_data', $data, $group_id, $actor_user_id ); -
apply_filters( 'zencommunity/feed/create/data', $data, $group_id, $data['user_id'] ); -
apply_filters( 'zencommunity/feed/create/sanitaization/rules', [ 'title' => Sanitizer::STRING, 'content' => Sanitizer::HTML, 'status' => Sanitizer::STRING, 'type' => Sanitizer::STRING, 'scheduled_at' => Sanitizer::STRING, 'add_media_ids.*' => Sanitizer::INT, 'remove_media_ids.*' => Sanitizer::INT, 'meta.disable_comment' => Sanitizer::BOOL, 'meta.background_color' => Sanitizer::STRING, 'meta.feeling' => Sanitizer::STRING, 'meta.poll.options.*.id' => Sanitiz... ); -
apply_filters( 'zencommunity/feed/default_sort_cols', [ 'created_at', 'updated_at', 'title', 'like_count', 'comment_count', 'id', 'trending' ] ); -
do_action( 'zencommunity/feed/deleted', $feed_id, $old_data ); -
do_action( 'zencommunity/feed/index/qb', $qb, $params ); -
apply_filters( 'zencommunity/feed/index/query', $params ); -
apply_filters( 'zencommunity/feed/index/sanitization_rules', [ 'page' => Sanitizer::INT, 'per_page' => Sanitizer::INT, 'group' => Sanitizer::INT, 'search' => Sanitizer::STRING, 'search_col' => Sanitizer::STRING, 'order' => Sanitizer::STRING, 'status' => Sanitizer::STRING, 'order_by' => Sanitizer::STRING, 'show_featured' => Sanitizer::STRING, 'bookmarked' => Sanitizer::STRING, 'member_id' => Sanitizer::INT, 'group_id' => Sanitizer::INT, ] ); -
apply_filters( 'zencommunity/feed/non_column_fields', [] ); -
do_action( 'zencommunity/feed/pending', $id, array_merge( $data, [ 'id' => $id ] ) ); -
do_action( 'zencommunity/feed/react', $type, $reaction_id, $feed_id, $user_id, $comment_id, $feed_data ); -
do_action( "zencommunity/feed/react/{$type}", $reaction_id, $feed_id, $user_id, $comment_id, $feed_data ); -
do_action( 'zencommunity/feed/react/withdraw', $type, $reaction_id, $feed_id, $user_id, $comment_id, $feed_data ); -
do_action( "zencommunity/feed/react/withdraw/{$type}", $reaction_id, $feed_id, $user_id, $comment_id, $feed_data ); -
do_action( 'zencommunity/feed/rejected', $feed_id, $feed ); -
apply_filters( 'zencommunity/feed/select', $selects ); -
apply_filters( 'zencommunity/feed/types', [ 'post', 'poll', 'event', 'idea' ] ); -
apply_filters( 'zencommunity/feed/update/data', $data, $group_id, $user_id ); -
apply_filters( 'zencommunity/feed/update/sanitaization/rules', [ 'title' => Sanitizer::STRING, 'content' => Sanitizer::HTML, 'status' => Sanitizer::STRING, 'scheduled_at' => Sanitizer::STRING, 'add_media_ids.*' => Sanitizer::INT, 'remove_media_ids.*' => Sanitizer::INT, 'meta.disable_comment' => Sanitizer::BOOL, 'meta.background_color' => Sanitizer::STRING, 'meta.feeling' => Sanitizer::STRING, 'meta.poll.options.*.id' => Sanitizer::STRING, 'meta.poll.option... ); -
apply_filters( 'zencommunity/feed/wrapper/collection', $data ); -
apply_filters( 'zencommunity/feed/wrapper/single', $feed, $is_single ); -
apply_filters( 'zencommunity/fse/block_supports', [ 'html' => false, 'align' => [ 'wide', 'full' ], 'spacing' => [ 'margin' => true, 'padding' => true, ], 'dimensions' => [ 'minHeight' => true, ], 'color' => [ 'background' => true, 'gradients' => true, 'text' => false, ], ] ); -
apply_filters( 'zencommunity/fse/blocks', [ 'community-app' => [ 'title' => __( 'Community App', 'zencommunity' ), 'description' => __( 'The complete community with working navigation — feed, members, groups, profiles and all sub-pages. Drop this in for a fully functional community.', 'zencommunity' ), 'icon' => 'screenoptions', 'keywords' => [ 'community', 'app', 'full', 'spa', 'router' ], 'attributes' => new \stdClass(), 'gate' => ... ); -
apply_filters( "zencommunity/fse/gate/{$gate}", false ); -
apply_filters( 'zencommunity/fse/templates', [ 'community' => __( 'ZenCommunity: Community', 'zencommunity' ), 'community-members' => __( 'ZenCommunity: Members', 'zencommunity' ), 'community-groups' => __( 'ZenCommunity: Groups', 'zencommunity' ), 'community-profile' => __( 'ZenCommunity: Member Profile', 'zencommunity' ), 'community-single-post' => __( 'ZenCommunity: Single Post', 'zencommunity' ), ] ); -
apply_filters( 'zencommunity/fse/view_map', [ 'members' => 'community-members', 'member' => 'community-profile', 'groups' => 'community-groups', 'group' => 'community-groups', 'feed' => 'community-single-post', ] ); -
apply_filters( 'zencommunity/global_role/edit_perms/schema', [ 'role' => [ 'description' => __( 'Role slug', 'zencommunity' ), 'type' => 'string', 'context' => [ 'view', 'edit', 'embed' ], 'maxLength' => 255, 'required' => true, 'sanitize_callback' => 'sanitize_text_field', ], 'permission' => [ 'description' => __( 'Permission slug', 'zencommunity' ), 'type' => 'string', 'context' => [ 'view', 'edit', 'embed' ], 'maxLength' => 255, 'required' => true, 's... ); -
apply_filters( 'zencommunity/global_role/schema', [ 'role' => [ 'description' => __( 'Role slug', 'zencommunity' ), 'type' => 'string', 'context' => [ 'view', 'edit', 'embed' ], 'maxLength' => 255, 'required' => true, 'sanitize_callback' => 'sanitize_text_field', ], 'action' => [ 'description' => __( 'Action : add, remove', 'zencommunity' ), 'type' => 'string', 'enum' => [ 'add', 'remove' ], 'default' => 'published', 'context' => [ 'view', 'ed... ); -
do_action( 'zencommunity/group/add_member/validate', $user_id, $group_id, $role, $status, $actor_user_id ); -
do_action( 'zencommunity/group/categories_with_its_groups_query', $qb, $user_id ); -
apply_filters( 'zencommunity/group/comment', [ 'content' => [ 'description' => 'Text content of the comment', 'type' => 'string', 'required' => true, 'sanitize_callback' => 'wp_kses_post', 'context' => ['view', 'edit'], ], 'add_media_ids' => [ 'required' => false, 'type' => 'array', 'items' => [ 'type' => [ 'integer', 'string' ], ], 'description' => __( 'An array of media IDs. Each media item must be of the type "comment_image".', 'zencom... ); -
apply_filters( 'zencommunity/group/create/sanitaization/rules', [ 'name' => Sanitizer::STRING, 'slug' => Sanitizer::STRING, 'description' => Sanitizer::HTML, 'status' => Sanitizer::STRING, 'privacy' => Sanitizer::STRING, 'created_at' => Sanitizer::STRING, 'updated_at' => Sanitizer::STRING, 'serial_number' => Sanitizer::INT, 'media_ids.*' => Sanitizer::INT, 'icon.type' => Sanitizer::STRING, 'icon.src' => Sanitizer::STRING, 'meta.anyone_can_send_join_request'... ); -
do_action( 'zencommunity/group/create/validate', $data, $category_id ); -
apply_filters( 'zencommunity/group/effective_status', $category_data['status'] ?? null, $group_id ); -
apply_filters( 'zencommunity/group/handle_media_fields', $data, $media, $id ); -
apply_filters( 'zencommunity/group/index/excluded_types', [] ); -
do_action( 'zencommunity/group/index/qb', $qb, $params ); -
do_action( 'zencommunity/group/remove_member', $group_id, $user_id ); -
apply_filters( 'zencommunity/group/schema', [ 'id' => [ 'description' => __( 'ID of the item', 'zencommunity' ), 'type' => 'integer', 'context' => [ 'view' ], 'readonly' => true, 'format' => 'int64', 'required' => false, 'sanitize_callback' => 'absint', ], 'category_id' => [ 'description' => __( 'category_id of the item', 'zencommunity' ), 'type' => 'integer', 'required' => false, 'sanitize_callback' => 'absint', ], 'name' => [ 'descript... ); -
apply_filters( 'zencommunity/group/top_members/comment_join', [ [ 'c.user_id', '=', 'pf.user_id' ], ] ); -
apply_filters( 'zencommunity/group/update/sanitaization/rules', [ 'name' => Sanitizer::STRING, 'slug' => Sanitizer::STRING, 'description' => Sanitizer::HTML, 'status' => Sanitizer::STRING, 'privacy' => Sanitizer::STRING, 'created_at' => Sanitizer::STRING, 'updated_at' => Sanitizer::STRING, 'category_id' => Sanitizer::INT, 'serial_number' => Sanitizer::INT, 'media_ids.*' => Sanitizer::INT, 'icon.type' => Sanitizer::STRING, 'icon.src' => Sanitizer::STRING, 'r... ); -
do_action( 'zencommunity/group/update/validate', $data, $group_id, $old_data ); -
do_action( 'zencommunity/group/user_access_query', $qb, $is_guest, $logged_user_id, $only_postable_groups ); -
do_action( 'zencommunity/group/user_role_changed', $group_id, $user_id, $role ); -
do_action( 'zencommunity/group/user_role_status', $group_id, $user_id, $status ); -
apply_filters( 'zencommunity/img/dimention', [ 'site_logo' => 'cover', 'site_logo_dark' => 'cover', 'profile_avatar' => 'avatar', 'profile_cover' => 'cover', 'group_featured' => 'avatar', 'group_cover' => 'cover', 'group_icon' => 'icon', 'feed_image' => 'cover', 'comment_image' => 'cover', 'event_cover' => 'cover', 'menu_icon' => 'icon', ] ); -
apply_filters( 'zencommunity/img/dimention/types', [ 'cover' => ['max_width' => 1920, 'max_height' => 1080], 'avatar' => ['max_width' => 300, 'max_height' => 300], 'thumbnail' => ['max_width' => 300, 'max_height' => 300], 'product' => ['max_width' => 800, 'max_height' => 800], 'banner' => ['max_width' => 1920, 'max_height' => 500], 'icon' => ['max_width' => 100, 'max_height' => 100], ] ); -
apply_filters( 'zencommunity/integration/academylms/events/schema', [ 'events' => [ 'required' => false, 'type' => 'array', 'items' => [ 'type' => [ 'string' ], ], 'description' => __( 'Allowed events".', 'zencommunity' ), 'validate_callback' => 'sanitize_text_field', ], ] ); -
do_action( 'zencommunity/integration/academylms/updated', ...func_get_args() ); -
apply_filters( 'zencommunity/integration/learndash/events/schema', [ 'events' => [ 'required' => false, 'type' => 'array', 'items' => [ 'type' => [ 'string' ], ], 'description' => __( 'Allowed events".', 'zencommunity' ), 'validate_callback' => 'sanitize_text_field', ], ] ); -
do_action( 'zencommunity/integration/learndash/updated', ...func_get_args() ); -
apply_filters( 'zencommunity/integration/learnpress/events/schema', [ 'events' => [ 'required' => false, 'type' => 'array', 'items' => [ 'type' => [ 'string' ], ], 'description' => __( 'Allowed events".', 'zencommunity' ), 'validate_callback' => 'sanitize_text_field', ], ] ); -
do_action( 'zencommunity/integration/learnpress/updated', ...func_get_args() ); -
apply_filters( 'zencommunity/integration/lifterlms/events/schema', [ 'events' => [ 'required' => false, 'type' => 'array', 'items' => [ 'type' => [ 'string' ], ], 'description' => __( 'Allowed events".', 'zencommunity' ), 'validate_callback' => 'sanitize_text_field', ], ] ); -
do_action( 'zencommunity/integration/LifterLms/updated', ...func_get_args() ); -
apply_filters( 'zencommunity/integration/masterstudy/events/schema', [ 'events' => [ 'required' => false, 'type' => 'array', 'items' => [ 'type' => [ 'string' ], ], 'description' => __( 'Allowed events".', 'zencommunity' ), 'validate_callback' => 'sanitize_text_field', ], ] ); -
do_action( 'zencommunity/integration/masterstudy/updated', ...func_get_args() ); -
apply_filters( 'zencommunity/integration/tutorlms/events/schema', [ 'events' => [ 'required' => false, 'type' => 'array', 'items' => [ 'type' => [ 'string' ], ], 'description' => __( 'Allowed events".', 'zencommunity' ), 'validate_callback' => 'sanitize_text_field', ], ] ); -
do_action( 'zencommunity/integration/tutorlms/updated', ...func_get_args() ); -
apply_filters( 'zencommunity/labels/definitions', [ 'group' => [ 'singular' => __( 'Group', 'zencommunity' ), 'plural' => __( 'Groups', 'zencommunity' ), 'where' => __( 'The menu, group pages and settings, buttons, empty states, notifications', 'zencommunity' ), 'menu' => 'Groups', 'menu_form' => 'plural', ], 'collection' => [ 'singular' => __( 'Collection', 'zencommunity' ), 'plural' => __( 'Collections', 'zencommunity' ), 'where' => __( 'Gro... ); -
apply_filters( 'zencommunity/media_upload/schema', [ 'media_type' => [ 'required' => true, 'type' => 'string', 'description' => __( 'Type of the media', 'zencommunity' ), 'sanitize_callback' => 'sanitize_text_field', ], 'file' => [ 'description' => __( 'File to upload', 'zencommunity' ), ], ] ); -
apply_filters( 'zencommunity/member/index/params', $params ); -
apply_filters( 'zencommunity/member/index/sanitization_rules', [ 'page' => Sanitizer::INT, 'per_page' => Sanitizer::INT, 'search' => Sanitizer::STRING, 'usertype' => Sanitizer::STRING, 'status' => Sanitizer::STRING, 'order' => Sanitizer::STRING, 'order_by' => Sanitizer::STRING, 'role' => Sanitizer::STRING, ] ); -
apply_filters( 'zencommunity/member/permission/validation/rules', [ 'role' => Sanitizer::STRING, 'permission' => Sanitizer::STRING, 'action' => Sanitizer::STRING, ], $user_id, $data ); -
apply_filters( 'zencommunity/members/index/schema', [ 'page' => [ 'required' => false, 'type' => 'integer', 'description' => __( 'Current page', 'zencommunity' ), ], 'per_page' => [ 'required' => false, 'type' => 'integer', 'description' => __( 'Records per page', 'zencommunity' ), ], 'search' => [ 'required' => false, 'type' => 'string', 'description' => __( 'Search query string.', 'zencommunity' ), ], 'status' => [ 'required' => false, 'type' ... ); -
apply_filters( 'zencommunity/members/wrapper/collection', $data ); -
apply_filters( 'zencommunity/members/wrapper/single', $profile ); -
do_action( 'zencommunity/migration/register_providers', [ static::class, 'register' ] ); -
apply_filters( 'zencommunity/migration/start_job/schema', [ 'provider' => [ 'description' => __( 'Provider key', 'zencommunity' ), 'type' => 'string', 'required' => true, 'sanitize_callback' => 'sanitize_key', ], 'phase' => [ 'description' => __( 'Which of the provider\'s phases() to run as this job — e.g. "tickets" or "conversations".', 'zencommunity' ), 'type' => 'string', 'required' => true, 'sanitize_callback' => 'sanitize_key', ], 'mode' => [ '... ); -
do_action( 'zencommunity/notification/created', [ 'action' => 'notification', 'notification_id' => $notification_id, 'to_user_ids' => $to_user_ids, 'data' => $notification_to_send, ] ); -
apply_filters( 'zencommunity/notification/pref_categories', [ 'posts' => __( 'New posts in your groups', 'zencommunity' ), 'comments' => __( 'Comments & replies on your content', 'zencommunity' ), 'mentions' => __( 'Mentions', 'zencommunity' ), 'reactions' => __( 'Reactions to your posts & comments', 'zencommunity' ), 'groups' => __( 'Group activity (invites, role changes)', 'zencommunity' ), 'tickets' => __( 'Support ticket updates', 'zencommunity' ), ... ); -
apply_filters( 'zencommunity/notification/target_path', null, $event_data ); -
apply_filters( 'zencommunity/privacy/anonymize_content', null, (int) $user->ID ); -
apply_filters( 'zencommunity/privacy/erasers', $list ); -
apply_filters( 'zencommunity/privacy/setting_meta', static::SETTING_META ); -
apply_filters( 'zencommunity/profile/completion_checklist', [ 'avatar' => ! empty( $profile['avatar_url'] ?? '' ), 'bio' => ! empty( $profile['bio'] ?? '' ), 'last_name' => ! empty( $profile['last_name'] ?? '' ), 'display_name' => ! empty( $meta['display_name'] ?? '' ), 'pronouns' => ! empty( $meta['pronouns'] ?? '' ), 'website_url' => ! empty( $meta['website_url'] ?? '' ), 'social_link' => ! empty( $social_links ), ], $profile ); -
apply_filters( 'zencommunity/profile/create/validation/rules', [ 'media_ids.*' => Sanitizer::INT, 'username' => Sanitizer::USERNAME, 'first_name' => Sanitizer::STRING, 'last_name' => Sanitizer::STRING, 'status' => Sanitizer::STRING, 'bio' => Sanitizer::HTML, 'usertype' => Sanitizer::STRING, 'created_at' => Sanitizer::STRING, 'updated_at' => Sanitizer::STRING, 'meta.display_name' => Sanitizer::STRING, 'meta.pronouns' => Sanitizer::STRING, 'meta.date_of_birt... ); -
do_action( 'zencommunity/profile/created', $id, $data ); -
apply_filters( 'zencommunity/profile/data_to_create', $data, $user_id ); -
apply_filters( 'zencommunity/profile/data_to_update', $data, $user_id ); -
apply_filters( 'zencommunity/profile/default_data', $data ); -
do_action( 'zencommunity/profile/deleted', $user_id ); -
apply_filters( 'zencommunity/profile/handle_media_fields', $data, $media, $id ); -
do_action( 'zencommunity/profile/updated', $user_id, $data, $old_data ); -
apply_filters( 'zencommunity/profile/updated/validation/rules', [ 'media_ids.*' => Sanitizer::INT, 'username' => Sanitizer::USERNAME, 'first_name' => Sanitizer::STRING, 'last_name' => Sanitizer::STRING, 'status' => Sanitizer::STRING, 'bio' => Sanitizer::HTML, 'usertype' => Sanitizer::STRING, 'created_at' => Sanitizer::STRING, 'updated_at' => Sanitizer::STRING, 'remove_media' => Sanitizer::STRING, 'meta.display_name' => Sanitizer::STRING, 'meta.pronouns' => ... ); -
apply_filters( 'zencommunity/role/schema', [ 'role' => [ 'description' => __( 'Role slug', 'zencommunity' ), 'type' => 'string', 'context' => [ 'view', 'edit', 'embed' ], 'maxLength' => 255, 'required' => true, 'sanitize_callback' => 'sanitize_text_field', ], 'permission' => [ 'description' => __( 'Permission slug', 'zencommunity' ), 'type' => 'string', 'context' => [ 'view', 'edit', 'embed' ], 'maxLength' => 255, 'required' => true, 's... ); -
apply_filters( 'zencommunity/role/update/schema', [ 'permission' => [ 'description' => __( 'Permission slug', 'zencommunity' ), 'type' => 'string', 'context' => [ 'view', 'edit', 'embed' ], 'maxLength' => 255, 'required' => true, 'sanitize_callback' => 'sanitize_text_field', ], 'action' => [ 'description' => __( 'Action : enable, disable', 'zencommunity' ), 'type' => 'string', 'enum' => [ 'disable', 'enable' ], 'default' => 'published', 'conte... ); -
apply_filters( 'zencommunity/roles', [ 'admin' => [ 'is_global' => false, 'label' => __( 'Admin', 'zencommunity' ), 'capabilities' => [ 'create_post' => [ 'label' => __( 'CREATE POST', 'zencommunity' ), 'disabled' => false ], 'delete_post' => [ 'label' => __( 'DELETE POST', 'zencommunity' ), 'disabled' => false ], 'manage_post' => [ 'label' => __( 'MANAGE POST', 'zencommunity' ), 'disabled' => false ], 'comment_post' => [ 'label' ... ); -
apply_filters( 'zencommunity/roles/capabilities', [ 'create_post' => __( 'Create post', 'zencommunity' ), 'delete_post' => __( 'Delete any post', 'zencommunity' ), 'delete_own_post' => __( 'Delete own post', 'zencommunity' ), 'manage_post' => __( 'Manage any post', 'zencommunity' ), 'manage_own_post' => __( 'Manage own post', 'zencommunity' ), 'comment_post' => __( 'Comment on post', 'zencommunity' ), 'update_group' => __( 'Update group settin... ); -
apply_filters( 'zencommunity/roles/sanitization_rules', [ 'role' => Sanitizer::STRING, 'permission' => Sanitizer::STRING, 'action' => Sanitizer::STRING, ] ); -
apply_filters( 'zencommunity/schema/category_index', $this->index_schema() ); -
apply_filters( 'zencommunity/schema/feed', [ 'title' => [ 'type' => 'string', 'required' => false, 'description' => __( 'Feed title', 'zencommunity' ), 'sanitize_callback' => 'sanitize_text_field', ], 'type' => [ 'type' => 'string', 'required' => false, 'description' => __( 'Feed type', 'zencommunity' ), 'enum' => \ZenCommunity\Database\Models\Feed::types(), 'default' => 'post', 'sanitize_callback' => 'sanitize_text_field', ], 'content'... ); -
apply_filters( 'zencommunity/schema/feed_index', [ 'page' => [ 'type' => 'integer', 'default' => 1, 'description' => __( 'Current page of the feed result set.', 'zencommunity' ), 'sanitize_callback' => 'absint', 'validate_callback' => 'rest_validate_request_arg', ], 'per_page' => [ 'type' => 'integer', 'default' => 10, 'description' => __( 'Number of feeds per page.', 'zencommunity' ), 'sanitize_callback' => 'absint', 'validate_callback' => '... ); -
apply_filters( 'zencommunity/schema/member_index', $this->member_index_schema() ); -
apply_filters( 'zencommunity/schema/member/update_profile', [ 'first_name' => [ 'type' => 'string', 'maxLength' => 255, 'description' => __( 'The user\'s first name.', 'zencommunity' ), 'sanitize_callback' => 'sanitize_text_field', ], 'last_name' => [ 'type' => 'string', 'maxLength' => 255, 'description' => __( 'The user\'s last name.', 'zencommunity' ), 'sanitize_callback' => 'sanitize_text_field', ], 'username' => [ 'type' => 'string', 'maxLength' => ... ); -
apply_filters( 'zencommunity/schema/notification/index', [ 'page' => [ 'required' => false, 'type' => 'integer', 'description' => __( 'Current page', 'zencommunity' ), ], 'per_page' => [ 'required' => false, 'type' => 'integer', 'description' => __( 'Notification per page', 'zencommunity' ), ], 'status' => [ 'required' => false, 'type' => 'integer', 'description' => __( 'if status is: 0 => unread, 1 => read, if ignore => all', 'zencommunity' ), ], 't... ); -
apply_filters( 'zencommunity/schema/notification/mark_as_read', [ 'notification_id' => [ 'required' => false, 'type' => 'integer', 'description' => __( 'Notification per page', 'zencommunity' ), ], 'is_read' => [ 'required' => true, 'type' => 'integer', 'enum' => [ 0, 1 ], 'description' => __( 'If status is: 0 => unread, 1 => read', 'zencommunity' ), ], ] ); -
apply_filters( 'zencommunity/schema/stuff_index', [ 'page' => [ 'type' => 'integer', 'description' => __( 'Current page number.', 'zencommunity' ), 'sanitize_callback' => 'absint', ], 'per_page' => [ 'type' => 'integer', 'description' => __( 'Number of items per page.', 'zencommunity' ), 'sanitize_callback' => 'absint', ], 'search' => [ 'type' => 'string', 'description' => __( 'Search term.', 'zencommunity' ), 'sanitize_callback' => 'sanitize_... ); -
apply_filters( 'zencommunity/schema/user_group_index', $this->member_index_schema() ); -
do_action( 'zencommunity/settings/after_update', $GLOBALS['zencommunity_settings'], $request ); -
do_action( 'zencommunity/settings/before_update', $settings, $request ); -
apply_filters( 'zencommunity/settings/before_update/data', $settings ); -
apply_filters( 'zencommunity/settings/default', array_merge( [ "name" => __( 'My Community', 'zencommunity' ), "path" => "/community", "load_on_entire_site" => false, "render_mode" => "spa", "community_visibility" => "guest", "guest_redirect_url" => "", "community_visibility_roles" => [], "feed" => [ 'is_title_required' => false, 'default_sort_by' => 'created_at', 'show_cover_placeholder' => true, 'post_preview_length' => 700, 'comment_previ... ); -
apply_filters( 'zencommunity/settings/media_handler', $data, $media, $id ); -
apply_filters( 'zencommunity/settings/output', [ 'settings' => $settings, 'roles' => $mapped_roles, ] ); -
apply_filters( 'zencommunity/settings/sanitization_rules', [ 'name' => Sanitizer::STRING, 'path' => Sanitizer::STRING, 'load_on_entire_site' => Sanitizer::BOOL, 'render_mode' => Sanitizer::STRING, 'media_ids.*' => Sanitizer::INT, 'community_visibility' => Sanitizer::STRING, 'guest_redirect_url' => Sanitizer::STRING, 'community_visibility_roles.*' => Sanitizer::STRING, 'can_see_all_members' => Sanitizer::STRING, 'can_see_others_groups_membership' => San... ); -
apply_filters( 'zencommunity/settings/schema', [ 'name' => [ 'required' => false, 'type' => 'string', 'description' => __( 'Community Name', 'zencommunity' ), 'sanitize_callback' => 'sanitize_text_field', ], 'load_on_entire_site' => [ 'type' => 'boolean', 'description' => __( 'Load the Community app across the entire frontend, overriding the active theme.', 'zencommunity' ), ], 'render_mode' => [ 'required' => false, 'type' => 'string', 'en... ); -
apply_filters( 'zencommunity/shortcode/pages', [ 'feed' => '/', 'post' => '/feed/{id}', 'ticket' => '/tickets', 'ticket-details' => '/ticket/{id}', 'support-chat' => '/live-chat', 'community-chat' => '/chat', 'profile' => '/member/{id}', 'agent-activity' => '/agent-activity', 'courses' => '/courses', 'course' => '/course/{id}', 'learn' => '/learn/{id}', 'groups' => '/groups', 'group' => '/group/{id}', 'members' => '/members', 'moderation' =... ); -
apply_filters( 'zencommunity/sidebar_widgets', $items, $scope ); -
apply_filters( 'zencommunity/sidebar_widgets/default', static::default_widgets( $scope ), $scope ); -
apply_filters( 'zencommunity/space/types', [ 'discussion' => [ 'label' => __( 'Discussion', 'zencommunity' ), 'description' => __( 'Spark threaded conversations with members.', 'zencommunity' ), 'icon' => 'chat', ], 'single-page' => [ 'label' => __( 'Single Page', 'zencommunity' ), 'description' => __( 'Publish a standalone article or announcement.', 'zencommunity' ), 'icon' => 'file', ], 'external-link' => [ 'label' => __( 'External Li... ); -
apply_filters( 'zencommunity/stuff/index/params', $params ); -
apply_filters( 'zencommunity/stuff/index/sanitization_rules', [ 'page' => Sanitizer::INT, 'per_page' => Sanitizer::INT, 'search' => Sanitizer::STRING, 'usertype' => Sanitizer::STRING, 'status' => Sanitizer::STRING, 'role' => Sanitizer::STRING, 'group_id' => Sanitizer::INT, 'global_role' => Sanitizer::STRING, 'order' => Sanitizer::STRING, 'order_by' => Sanitizer::STRING, ] ); -
do_action( 'zencommunity/user/index/qb', $qb, $params ); -
do_action( 'zencommunity/user/status_changed', $user_id, $status, (string) ( $before['status'] ?? '' ) );
Generated from ZenCommunity's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: