Groundhogg 4.11 has 311 actions and 404 filters, read directly from its source code on Nov 18, 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 Groundhogg fires an action
add_action( 'groundhogg/admin/funnel/updated', function( $funnel ) {
// Your code runs here.
}, 10, 1 );
// Change a value Groundhogg is about to use
add_filter( 'groundhogg/roles/note_association_cap_check_types', function( $value, $associated, $action ) {
// Change $value here.
return $value;
}, 10, 3 );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
-
/** * Filters the array function... */ apply_filters( "groundhogg/{$this->get_object_type()}/get_as_array", [ 'ID' => $this->get_id(), 'data' => $this->data, 'admin' => $this->admin_link() ] ); -
/** * Runs after the funnel as been updated. */ do_action( 'groundhogg/admin/funnel/updated', $funnel ); -
/** * Object types whose note/task permission checks cascade into a "can the user * view the associated object" check. A type left out of this list keeps the * prior behaviour (blanket view_notes / view_tasks + author scoping only). */ apply_filters( 'groundhogg/roles/note_association_cap_check_types', [ 'contact', 'deal', 'company' ], $associated, $action ); -
/** * When an object is merged */ do_action( "groundhogg/{$this->get_object_type()}/merged", $this, $other ); -
/** * Fires after the object is updated... */ do_action( "groundhogg/{$this->get_object_type()}/post_update", $this->get_id(), $data, $this, $old_data ); -
/** * Before an object is merged */ do_action( "groundhogg/{$this->get_object_type()}/pre_merge", $this, $other ); -
/** * Fires before the object is updated... */ do_action( "groundhogg/{$this->get_object_type()}/pre_update", $this->get_id(), $data, $this, $old_data ); -
/** * Fires after the broadcast is added to the DB but before the user is * redirected to the scheduler */ do_action( 'groundhogg/admin/broadcast/scheduled', $broadcast->get_id(), $meta, $broadcast ); -
/** * Whenever a contact is imported Should be performant! */ do_action( 'groundhogg/contact/imported', $contact ); -
/** * The block types an email can have, for add-ons that add their own */ apply_filters( 'groundhogg/email/block_types', self::CORE_TYPES ); -
/** * Filter the json response for the meta key picker */ apply_filters( 'groundhogg/handle_ajax_meta_picker', $response, $search ); -
/** * Whether the emails the site sends should have a Reply-To that sends replies * to the inbox. On by default, when there's a reply address. */ apply_filters( 'groundhogg/message/reply_to_enabled', true, $message_id ); -
/** * Filters whether a user is restricted from contact PII */ apply_filters( 'groundhogg/pii/is_restricted', ! user_can( $user_id, self::CAP ), $user_id ); -
/** * This filter is documented in wp-includes/pluggable.php */ do_action( 'wp_mail_failed', new WP_Error( 'wp_mail_failed', $e->getMessage(), $mail_error_data ) ); -
/** * Allow template choices to be filtered. */ apply_filters( "{$this->filter_prefix}_get_template_part", $templates, $slug, $name ); -
/** * Allow ordered list of template paths to be amended. */ apply_filters( "{$this->filter_prefix}_template_paths", $file_paths ); -
/** * Allow plugins to add scripts to this page. */ do_action( 'enqueue_managed_page_scripts' ); -
/** * Allow plugins to add styles to this page. */ do_action( 'enqueue_managed_page_styles' ); -
groundhogg/{$this->db_table->get_object_type()}/pre_get_results
action Copy link Customise this hook/** * Before getting the results from a specific query */ do_action_ref_array( "groundhogg/{$this->db_table->get_object_type()}/pre_get_results", [ &$this ] ); -
/** * Triggered when a new note is added and related to an object */ do_action( "groundhogg/{$this->get_object_type()}/note/added", $this->ID, $note, $this ); -
/** * Fires after the object is created... */ do_action( "groundhogg/{$this->get_object_type()}/post_create", $this->get_id(), $data, $this ); -
/** * Fires after the object deleted... */ do_action( "groundhogg/{$this->get_object_type()}/post_delete", $id ); -
/** * Fires before the object is created... */ do_action( "groundhogg/{$this->get_object_type()}/pre_create", $data, $this ); -
/** * Fires before the object deleted... */ do_action( "groundhogg/{$this->get_object_type()}/pre_delete", $id, $this->data, $this ); -
/** * Filter the guides groundhogg/get-authoring-guide serves. */ apply_filters( 'groundhogg/abilities/authoring_guides', $guides ); -
/** * Register an add-on's abilities with Abilities::add_ability(), after * Groundhogg's own. WordPress is accepting registrations now, so they're * registered straight away, and the schemas they build from are complete. */ do_action( 'groundhogg/abilities/register_abilities' ); -
/** * Register an add-on's ability categories with Abilities::add_category(), * after Groundhogg's own. WordPress is accepting registrations now, so they're * registered straight away. */ do_action( 'groundhogg/abilities/register_categories' ); -
/** * Register contributions to the schemas other schemas and abilities are built * from: Segment_Schema::extend(), Contact_Schema::extend() and any other * Extensible_Schema. Runs before register_step_types, so those can build on * them. */ do_action( 'groundhogg/abilities/register_schema_extensions' ); -
/** * Register step types for create-flow, edit-flow and get-flow with * Step_Type_Schema::extend(). Every schema extension is in by now, and every * step type is registered with the step manager. */ do_action( 'groundhogg/abilities/register_step_types' ); -
/** * Filter how get-setup-status says each Site Health test is fixed, e.g. for * one an add-on adds */ apply_filters( 'groundhogg/abilities/setup_status/fixes', $fixes ); -
groundhogg/admin/{$this->get_slug()}/{$this->get_current_action()}/scripts
action Copy link Customise this hook/** * To enqueue related scripts for this page and specific action */ do_action( "groundhogg/admin/{$this->get_slug()}/{$this->get_current_action()}/scripts", $this, $this->get_current_action() ); -
groundhogg/admin/{$this->get_slug()}/{$this->get_current_tab()}/{$this->get_current_action()}/scripts
action Copy link Customise this hook/** * To enqueue related scripts for this page, tab, and specific action */ do_action( "groundhogg/admin/{$this->get_slug()}/{$this->get_current_tab()}/{$this->get_current_action()}/scripts", $this, $this->get_current_action(), $this->get_current_tab() ); -
groundhogg/admin/{$this->get_slug()}/{$this->get_current_tab()}/scripts
action Copy link Customise this hook/** * To enqueue related scripts for this page and tab */ do_action( "groundhogg/admin/{$this->get_slug()}/{$this->get_current_tab()}/scripts", $this, $this->get_current_action(), $this->get_current_tab() ); -
/** * To enqueue relates scripts for this page */ do_action( "groundhogg/admin/{$this->get_slug()}/scripts", $this, $this->get_current_action() ); -
/** * Filter the columns */ apply_filters( 'groundhogg/admin/broadcast/table/sortable_columns', $sortable_columns, $this->get_view() ); -
/** * Filter the columns */ apply_filters( 'groundhogg/admin/broadcasts/table/columns', $columns, $this->get_view() ); -
/** * Allow filtering the user's cards priority, capabilities, etc... directly. */ apply_filters( 'groundhogg/admin/contact/cards', $cards ); -
/** * After the contact is created via the admin! */ do_action( 'groundhogg/admin/contacts/add/after', $contact ); -
/** * Filter the capability for the current tab */ apply_filters( 'groundhogg/admin/get_current_tab_cap', $cap, $this->get_current_tab(), $this->get_current_action() ); -
/** * Helper function. */ do_action( 'groundhogg/after_form_submit', $contact, $submission_id ); -
/** * Use this action to declare extension endpoints... */ do_action( 'groundhogg/api/v3/pre_init', $this ); -
/** * Filter the json response for the meta key picker */ apply_filters( 'groundhogg/api/v4/fields/read', $fields ); -
/** * Filter the callback to sanitize the option */ apply_filters( 'groundhogg/api/v4/options_sanitize_callback', 'sanitize_text_field', $option, $value ); -
/** * Use this action to declare extension endpoints... */ do_action( 'groundhogg/api/v4/pre_init', $this ); -
/** * Allow modifying the broadcast query, perhaps to restrict what can appear in * the archive. */ do_action_ref_array( 'groundhogg/archive/broadcast_query', [ &$broadcastQuery ] ); -
/** * Allow modifying the campaigns query, perhaps to restrict what can appear in * the archive. */ do_action_ref_array( 'groundhogg/archive/campaigns_query', [ &$campaignsQuery ] ); -
/** * Allow modifying the events query, perhaps to restrict what can appear in the * archive. */ do_action_ref_array( 'groundhogg/archive/events_query', [ &$eventsQuery ] ); -
/** * Allow filtering the query for the block content */ do_action_ref_array( "groundhogg/block_query/{$queryId}", [ &$query, $this->cur_block ] ); -
/** * How many emails one run handles, the cron job carries on with the rest next * time */ apply_filters( 'groundhogg/bounce_checker/limit', $manual ? 500 : 200, $manual ); -
/** * How many days back Handle Bounces Now looks */ apply_filters( 'groundhogg/bounce_checker/manual_days', 7 ); -
/** * When a broadcast's status changes */ do_action( "groundhogg/broadcast/{$newStatus}", $this ); -
/** * Fires after the broadcast is sent */ do_action( "groundhogg/broadcast/{$this->get_broadcast_type()}/after", $this, $contact, $event ); -
/** * Fires before the broadcast is sent */ do_action( "groundhogg/broadcast/{$this->get_broadcast_type()}/before", $this, $contact, $event ); -
/** * Filter the object to send... */ apply_filters( "groundhogg/broadcast/{$this->get_broadcast_type()}/object", $this->get_object(), $this, $contact, $event ); -
/** * Allow modifying the batch inserts before we actually insert them */ apply_filters( 'groundhogg/broadcast/pre_insert_batch', $inserts, $this ); -
/** * Filter the name the assistant introduces itself with, in the prompts and the * "assistant" authoring guide. Return an empty string for no name. */ apply_filters( 'groundhogg/build_with_ai/assistant_name', is_white_labeled() ? '' : 'PhilBot' ); -
/** * Filter the examples the "Build with AI" popup offers to start from. */ apply_filters( 'groundhogg/build_with_ai/examples', $examples, $type ); -
/** * Filter the commands added to the command palette */ apply_filters( 'groundhogg/command_palette/commands', [] ); -
/** * Provide hook for the Account Created benchmark and other functionality */ do_action( 'groundhogg/contact_created_from_user', $user, $contact ); -
/** * Fires when the contact query could not be set up. The query will match * nothing. */ do_action( 'groundhogg/contact_query/error', $e, $this->query_vars, $this ); -
/** * Enable registering more filters */ do_action( 'groundhogg/contact_query/filters/register', self::$filters ); -
/** * Before getting the results of the query */ do_action_ref_array( 'groundhogg/contact_query/pre_get_contacts', [ &$this ] ); -
/** * When a new contact is created with the Contact::create() method */ do_action( 'groundhogg/contact/created', $this ); -
/** * Filter whether the contact is currently deliverable */ apply_filters( 'groundhogg/contact/is_deliverable', ! in_array( $this->get_optin_status(), [ Preferences::HARD_BOUNCE, Preferences::COMPLAINED, Preferences::SPAM, Preferences::BLOCKED, ] ), $this ); -
/** * Filter whether the contact is currently marketable */ apply_filters( 'groundhogg/contact/is_marketable', Plugin::instance()->preferences->is_marketable( $this ), $this ); -
/** * When an object is merged */ do_action( 'groundhogg/contact/merged', $this, $other ); -
/** * When the owner is changed */ do_action( 'groundhogg/contact/owner_changed', $this->owner, $this, $orig_owner ); -
/** * Before an object is merged */ do_action( 'groundhogg/contact/pre_merge', $this, $other ); -
/** * When the contact is unsubscribed */ do_action( 'groundhogg/contact/preferences/unsubscribed', $this->ID, $new_preference, $old_preference, $this ); -
/** * When the preference is updated */ do_action( 'groundhogg/contact/preferences/updated', $this->ID, $new_preference, $old_preference, $this ); -
/** * When a tag relationship is created */ do_action( 'groundhogg/contact/tag_applied', $this, $tag_id ); -
/** * When a tag relationship is removed */ do_action( 'groundhogg/contact/tag_removed', $this, $tag_id ); -
/** * Similar to groundhogg/contact/tag_applied but passes all the tags as an * array if multiple tags were passed */ do_action( 'groundhogg/contact/tags_applied', $this, $apply ); -
/** * Similar to groundhogg/contact/tag_removed but passes all the tags as an * array if multiple tags were passed */ do_action( 'groundhogg/contact/tags_removed', $this, $remove ); -
/** * Runs after the contact is created from the create user function */ do_action( 'groundhogg/create_contact_from_user', $contact, $user ); -
/** * Runs after a user is successfully registered. */ do_action( 'groundhogg/create_user_from_contact', $user_id, $contact ); -
/** * Filter the hosts of demo and sandbox sites. A site whose address ends with * one of these is a demo. */ apply_filters( 'groundhogg/demo_host_suffixes', [ '.groundhogg-demo.com', '.instawp.xyz', '.instawp.link', '.instawp.co', 'tastewp.com', 'playground.wordpress.net', ] ); -
/** * Disable the MailHawk recommendation and installer */ apply_filters( 'groundhogg/disable_mailhawk', false ); -
/** * Filter the display value of a custom field */ apply_filters( 'groundhogg/display_custom_field', $data, $contact ); -
groundhogg/edit_lock/{$object->_get_object_type()}/changed_text
filter Copy link Customise this hook/** * What the editor says when the object was changed while it's open */ apply_filters( "groundhogg/edit_lock/{$object->_get_object_type()}/changed_text", $text, $object ); -
/** * The version of an object being edited, see get_edit_version() */ apply_filters( "groundhogg/edit_lock/{$object->_get_object_type()}/version", $version, $object ); -
/** * Filter the recipients of email reports */ apply_filters( 'groundhogg/email_reports/get_recipients', $emails, $meta_key ); -
/** * The sections of the My Day email. A section is a card in the email. Add one * by returning it with an ID that is yours, and nothing is shown when its * render callback returns an empty string. */ apply_filters( 'groundhogg/email_reports/my_day_sections', $sections ); -
/** * Allow hooks to swap wap outF flags before the email is sent based on the * current state of Groundhogg_Email_Services */ do_action( 'groundhogg/email_services/before_send', $to, $subject, $message, $headers, $attachments ); -
/** * Allow plugins to filter the block content */ apply_filters( 'groundhogg/email/block_render', $content, $block, $context ); -
/** * Block types that can be written from block specs by the email abilities */ apply_filters( 'groundhogg/email/block_renderers', $types, $this ); -
/** * Filter the headers to maybe add additional recipients... */ apply_filters( 'groundhogg/email/headers', $headers, $this, $this->contact ); -
/** * Filter the headers while they are still in the associated array format */ apply_filters( 'groundhogg/email/headers_assoc', $headers, $this, $this->contact ); -
/** * Whether replies to an email go to the inbox of the site, to be saved as * messages */ apply_filters( 'groundhogg/email/reply_to_messages', (bool) $this->get_meta( 'reply_to_messages' ), $this ); -
/** * Filter the to address */ apply_filters( 'groundhogg/email/to', $this->get_contact()->get_email(), $this->get_contact(), $this ); -
/** * Do actions after an event has been run */ do_action( 'groundhogg/event/run/after', $this, $result ); -
/** * Filter the exported data from a field in the contact record. */ apply_filters( 'groundhogg/export_field', $return, $contact, $field ); -
/** * Allow filtering of the default value of custom fields */ apply_filters( 'groundhogg/form_fields/custom_field_value', $props['value'], $name, $field ); -
/** * Allow modifying the form config */ apply_filters( 'groundhogg/form/config', $config, $this, $context ); -
/** * After a successful submission. */ do_action( 'groundhogg/form/submission_handler/after', $submission, $contact, $this ); -
/** * Filter the max number of submission attempts per IP address, per form, per * window. 0 disables rate limiting. */ apply_filters( 'groundhogg/form/v2/rate_limit', 20, $this ); -
/** * Filter the length of the rate limit window in seconds */ apply_filters( 'groundhogg/form/v2/rate_limit_window', 10 * MINUTE_IN_SECONDS, $this ); -
/** * Trigger any benchmarks from here */ do_action( 'groundhogg/form/v2/submit', $submission, $this, $contact ); -
/** * Allow adding additional free providers */ apply_filters( 'groundhogg/free_email_providers', $providers ); -
/** * Relly just here as a flag for importing, but theoretically you can modify * the data directly */ do_action_ref_array( 'groundhogg/funnel/import/before', [ &$data ] ); -
/** * After the contact is generated with the map */ do_action( 'groundhogg/generate_contact_with_map/after', $contact, $map, $fields ); -
/** * Last chance to modify args, tags, meta, and other data before generating a * contact record */ do_action_ref_array( 'groundhogg/generate_contact_with_map/args', [ $contact, &$data, &$meta, &$tags, &$notes, &$files, ] ); -
/** * Default filter for unknown contact fields */ do_action_ref_array( 'groundhogg/generate_contact_with_map/default', [ $field, $value, &$data, &$meta, &$tags, &$notes, &$files ] ); -
/** * Filter the data for the submission, for example add a step_id from the * webhook */ apply_filters( 'groundhogg/generate_contact_with_map/submission', wp_parse_args( $submission, [ 'type' => 'update', 'contact_id' => $contact->get_id(), ] ), $contact, $map, $fields ); -
/** * Filter the json response for the meta key picker */ apply_filters( 'groundhogg/handle_ajax_meta_value_picker', $response, $search ); -
/** * Filter the name that goes in front of the secret address, and the address * that replies go to. It's anything that can be in an address, and it's left * out if there isn't room for it. */ apply_filters( 'groundhogg/inbox/address_prefix', $prefix, $user, $route ); -
/** * The url of the relay, to use one that isn't the live one, like a local copy * of it */ apply_filters( 'groundhogg/inbox/api_url', $url ); -
/** * The inbox was set up */ do_action( 'groundhogg/inbox/enabled', $inbox ); -
/** * Groundhogg init. */ do_action( 'groundhogg/init/v2' ); -
/** * Filter whether a given email is free or not */ apply_filters( 'groundhogg/is_free_email_provider', in_array( get_email_address_hostname( $email ), get_free_email_providers() ), $email, get_email_address_hostname( $email ) ); -
/** * Whether the option is enabled or not. */ apply_filters( 'groundhogg/is_option_enabled', ( ! is_array( $option ) && $option ) || ( is_array( $option ) && in_array( 'on', $option ) ), $option ); -
/** * Filter the library url */ apply_filters( 'groundhogg/library/get_library_url', self::LIBRARY_URL ); -
/** * Filter the list unsubscribe header */ apply_filters( 'groundhogg/list_unsubscribe_header', $list_unsub_header, $this, $unsub_pk, $event_id ); -
/** * Filter the email address the unsubscribe notification is sent to */ apply_filters( 'groundhogg/list_unsubscribe_header/mailto', $mail_to, $this, $unsub_pk, $event_id ); -
/** * Groundhogg loaded. */ do_action( 'groundhogg/loaded' ); -
/** * Allow registration of custom reports for the logs page */ apply_filters( 'groundhogg/logs/reports', $reports ); -
/** * Filter how long after an assistant last used the site we still count it as * in use. */ apply_filters( 'groundhogg/mcp/in_use_window', 30 * DAY_IN_SECONDS ); -
/** * The headers that a composed email can be sent with */ apply_filters( 'groundhogg/message/composed/allowed_headers', [ 'In-Reply-To', 'References' ] ); -
/** * Whether the sender of a received message passed authentication */ apply_filters( 'groundhogg/message/inbound/authenticated', $is_reply || empty( $authentication ) || ( $authentication['spf'] ?? '' ) === 'pass' || ( $authentication['dkim'] ?? '' ) === 'pass', $authentication, $message ); -
/** * Filter the secret that inbound messages are signed with */ apply_filters( 'groundhogg/message/inbound/secret', $secret ); -
/** * Whether the message is an automatic reply (out of office, bounce, ...). * Those are not conversation. */ apply_filters( 'groundhogg/message/ingest/is_automated', self::is_automated( $from, $subject, (array) $payload['headers'] ), $payload ); -
/** * Whether an address is one of ours */ apply_filters( 'groundhogg/message/ingest/is_ours', in_array( $address, array_filter( $senders, 'is_email' ), true ), $address ); -
/** * Filter the objects the message will be associated with. This is the place * to, for example, create a contact for a sender that isn't one yet, or to * match on something other than the address. */ apply_filters( 'groundhogg/message/ingest/objects', array_values( $objects ), $payload, $parent, $direction ); -
/** * A copy of a message that was sent from outside of the site was logged */ do_action( 'groundhogg/message/logged', $message, $object, $payload ); -
/** * A message was received */ do_action( 'groundhogg/message/received', $message, $object, $payload ); -
/** * Filter the meta value */ apply_filters( "groundhogg/meta/{$this->get_object_type()}/add/filter_value", $meta_value, $meta_key, $object_id ); -
/** * Filter the meta value */ apply_filters( "groundhogg/meta/{$this->get_object_type()}/update/filter_value", $meta_value, $meta_key, $object_id, $prev_value ); -
/** * Add entries to a contact's mobile activity list. */ apply_filters( 'groundhogg/mobile/activity_feed', $entries, $contact, $limit, $before ); -
/** * Filter the mobile app manifest before it is sent to the client. */ apply_filters( 'groundhogg/mobile/manifest', $manifest, $user_id ); -
/** * Add-ons register their mobile features here, never at file load or on a * guessed `init` priority. */ do_action( 'groundhogg/mobile/register_features', $this ); -
/** * Filter the content for specific object types. For example handling * replacements fpr non-contact objects. */ apply_filters( 'groundhogg/note/content', $content, $args['object_id'], $args['object_type'], $object, $data ); -
/** * After the current user dismissed notices */ do_action( 'groundhogg/notices/dismissed', $notices, get_current_user_id(), $days ); -
/** * After the current user read notices, e.g. by opening the notifications feed */ do_action( 'groundhogg/notices/read', $notices, get_current_user_id() ); -
/** * The notifications a user can opt out of. An add-on that sends its own can * add it, and its emails can then carry the same unsubscribe link. */ apply_filters( 'groundhogg/notifications/types', $types ); -
/** * Notify other plugins of owner re-assignment */ do_action( 'groundhogg/owner_deleted', $id, $new_owner ); -
/** * Filters the contact columns that are PII */ apply_filters( 'groundhogg/pii/contact_fields', [ 'email', 'first_name', 'last_name' ] ); -
/** * Filters the segment filter types that are on PII */ apply_filters( 'groundhogg/pii/filter_types', [ 'age', 'anniversary', 'birthday', 'city', 'email', 'first_name', 'last_name', 'phone', 'street_address_1', 'street_address_2', 'user_meta', 'zip_code', ] ); -
/** * Filters the contact meta keys that are PII */ apply_filters( 'groundhogg/pii/meta_keys', [ 'alternate_emails', 'alternate_phones', 'birthday', 'city', 'company_phone', 'ip_address', 'mobile_phone', 'postal_zip', 'primary_phone', 'primary_phone_extension', 'street_address_1', 'street_address_2', ] ); -
/** * Filters the built in contact meta keys that are not PII */ apply_filters( 'groundhogg/pii/safe_meta_keys', [ 'company_name', 'country', 'gdpr_consent', 'job_title', 'lead_source', 'locale', 'marketing_consent', 'region', 'source_page', 'terms_agreement', 'time_zone', ] ); -
/** * Filters what scrub_text() redacts. Add what is personal in your own data, * like an add-on's field on the contact, the name of the company the contact * works for, or the address of a deal. */ apply_filters( 'groundhogg/pii/scrub_text_pairs', $pairs, $contact ); -
/** * Filters the tables whose free text search looks in PII columns */ apply_filters( 'groundhogg/pii/search_tables', [ 'email_log', 'messages', 'notes', 'tasks', 'submissions' ] ); -
/** * Filters the PII columns of the tables that have them */ apply_filters( 'groundhogg/pii/table_columns', [ 'email_log' => [ 'recipients', 'from_address', 'subject', 'content', 'altbody', 'headers', 'error_message', 'msg_id' ], 'messages' => [ 'from_address', 'to_address', 'subject', 'content', 'summary', 'message_id', 'in_reply_to', 'thread_id' ], 'page_visits' => [ 'ip_address', 'query', 'fragment' ], 'activity' => [ 'ip_address' ], 'notes' => [ 'content', 'summary' ], 'tasks' => [ 'content', 'su... ); -
/** * Filter list of available merge tags, maybe add new ones? */ apply_filters( 'groundhogg/post_merge_tags', $merge_tags, $props ); -
/** * Hook to remove filters for the output of the core WP functions */ do_action( 'groundhogg/posts/after_render', $props ); -
/** * Hook to maybe add some filters for the output of the core WP functions */ do_action( 'groundhogg/posts/before_render', $props ); -
/** * Filter post query variables */ apply_filters( "groundhogg/posts/query/{$query_id}", $query_vars, $this->current_contact ); -
/** * Allow for modification of the query */ do_action_ref_array( "groundhogg/posts/wp_query/{$query_id}", [ &$query, $query_vars, $this->current_contact, ] ); -
/** * After the request is made to download the profile */ do_action( 'groundhogg/preferences/download_profile', $contact ); -
/** * Before the request is made to erase the profile */ do_action( 'groundhogg/preferences/erase_profile', $contact ); -
/** * Filters the message */ apply_filters( 'groundhogg/preferences/send_archive_link_message', $message, $contact ); -
/** * Filters the subject */ apply_filters( 'groundhogg/preferences/send_archive_link_subject_line', $subject, $contact ); -
/** * Filters the message */ apply_filters( 'groundhogg/preferences/send_preferences_link_message', $message, $contact ); -
/** * Filters the subject */ apply_filters( 'groundhogg/preferences/send_preferences_link_subject_line', $subject, $contact ); -
/** * Filter the primary owner */ apply_filters( 'groundhogg/primary_owner', $user ); -
/** * Fires when a filter could not be applied, either because its type is not * registered or its callback threw. The filter's AND group will match nothing. */ do_action( 'groundhogg/query/filter_error', $exception, $filter, $where ); -
/** * Before getting the results from a specific query */ do_action_ref_array( 'groundhogg/query/pre_get_results', [ $this ] ); -
/** * Provide a cache group for a table that isn't managed by Groundhogg, so * queries that read from it can be cached. Whoever provides the group must * also call DB::set_group_last_changed( $group ) whenever the table changes. */ apply_filters( 'groundhogg/query/table_cache_group', false, $table ); -
/** * When a batch of events is finished processing */ do_action( 'groundhogg/queue/processed_event_batch' ); -
/** * When the queue is finished processing events, but before processed events * are moved to the history table */ do_action( 'groundhogg/queue/processed_events' ); -
/** * Filter the return value of a given replacement code */ apply_filters( "groundhogg/replacements/{$code}", $text ); -
/** * Filter the sales team belonging to a specific sales manager */ apply_filters( 'groundhogg/sales_team', $owner_ids ); -
/** * Filter the object meta */ apply_filters( 'groundhogg/sanitize_object_meta', $meta_value, $meta_key, $object_type, $original_meta_value ); -
/** * Fires with the live Contact_Query built from a segment $input, so an add-on * can manipulate it directly - see the class docblock's WooCommerce example. * The query hasn't run yet, so anything applied here (addJoin(), where(), * setSelect(), ...) takes effect normally. */ do_action( 'groundhogg/segment_schema/contact_query', $contact_query, $input ); -
/** * Allow filtering of the sender profiles */ apply_filters( 'groundhogg/sender_profiles', $profiles ); -
/** * Filter whether a sensitive setting's real value should be exposed (e.g. by * groundhogg/list-settings) instead of the redacted placeholder. */ apply_filters( 'groundhogg/settings/expose_sensitive_values', $debug, $this->prefix( $id ) ); -
/** * Whether the new user should be automatically converted to a contact or not */ apply_filters( 'groundhogg/should_convert_user_to_contact_when_user_registered', ! is_option_enabled( 'gh_disable_user_sync' ), $userId, $user ); -
/** * Filter geolocation functionality */ apply_filters( 'groundhogg/should_extrapolate_location', ! $disabled ); -
/** * Filter the fields added to Site Health › Info */ apply_filters( 'groundhogg/site_health/info_fields', $fields ); -
/** * Filter the tests added to Site Health */ apply_filters( 'groundhogg/site_health/tests', $direct ); -
/** * Filter the step directly before enqueuing a step. Allows logic to filter the * step to be enqueued. */ apply_filters_ref_array( 'groundhogg/step/enqueue', [ $prev, $contact, &$args ] ); -
/** * Filter the event data before it is enqueued. */ apply_filters( 'groundhogg/step/enqueue/event', $event, $contact, $step ); -
/** * Filter the locking */ apply_filters( 'groundhogg/step/is_locked', $this->_is_locked(), $this ); -
/** * Filter whether this step is considered a "timer" */ apply_filters( 'groundhogg/step/is_timer', in_array( $this->get_type(), [ 'delay_timer', 'date_timer', 'advanced_timer', 'field_timer' ] ), $this ); -
/** * Allow plugins to filter the next step */ apply_filters( 'groundhogg/step/next_action', $next, $this, $contact ); -
/** * Filters the next step */ apply_filters( 'groundhogg/step/next_step', $next, $this ); -
/** * Filters the next action */ apply_filters( 'groundhogg/step/prev_action', $next, $this ); -
/** * Filters the prev step */ apply_filters( 'groundhogg/step/prev_step', $prev, $this ); -
/** * Whether the step can be enqueued */ apply_filters_deprecated( 'groundhogg/steps/enqueue', [ true, $contact, $step ], '4.1', 'groundhogg/step/enqueue' ); -
/** * A more specific action for when a task associated with a specific object * type is completed */ do_action( "groundhogg/task/{$this->object_type}/completed", $this ); -
/** * A more specific action for when a task associated with a specific object * type is uncompleted */ do_action( "groundhogg/task/{$this->object_type}/uncompleted", $this ); -
/** * Whenever a task is completed */ do_action( 'groundhogg/task/completed', $this ); -
/** * Whenever a task is uncompleted */ do_action( 'groundhogg/task/uncompleted', $this ); -
/** * Filter where telemetry is sent */ apply_filters( 'groundhogg/telemetry/endpoint', $url ); -
/** * Filter a telemetry message before it is sent. Return false to not send it. */ apply_filters( 'groundhogg/telemetry/message', $message, $type ); -
/** * Add an extension's own counts to the telemetry snapshot. Put them under the * extension's download id, e.g. $snapshot['extensions'][ 12345 ] = [ * 'orders_tracked_7d' => 88 ]. Counts only, never personal data or content. */ apply_filters( 'groundhogg/telemetry/snapshot', array_merge( $snapshot, [ 'extensions' => [] ] ) ); -
/** * Filter whether schema 2 telemetry is on */ apply_filters( 'groundhogg/telemetry/v2', $on ); -
/** * Before we send the test email let's expose it so we can override some of its * properties */ do_action( 'groundhogg/test_email/before_send', $this->email ); -
/** * Fires after some activity is tracked */ do_action( 'groundhogg/track_activity', $activity, $activity->get_contact() ); -
/** * When an email tracking link is clicked */ do_action( 'groundhogg/tracking/email/click', $this, $activity, $event ); -
/** * When an email is opened and the tracking image is loaded */ do_action( 'groundhogg/tracking/email/opened', $this, $activity, $event ); -
/** * Filter whether the redirect target host is matched to the host of the * current request. */ apply_filters( 'groundhogg/tracking/match_request_host', true, $url ); -
/** * Runs when a page visit is tracked */ do_action( 'groundhogg/tracking/page_visit', $visit, $contact ); -
/** * Fires after PHPMailer is initialized. */ do_action_ref_array( 'phpmailer_init', array( &$mailer ) ); -
/** * Filters whether to preempt sending an email. */ apply_filters( 'pre_wp_mail', null, $atts ); -
/** * Filters the post content. */ apply_filters( 'the_content', $content ); -
/** * This filter is documented in wp-admin/includes/ajax-actions.php */ apply_filters( 'wp_check_post_lock_window', 150 ); -
/** * Compat for things tracking logins */ do_action( 'wp_login', $user->user_login, $user ); -
/** * Filters the wp_mail() arguments. */ apply_filters( 'wp_mail', compact( 'to', 'subject', 'message', 'headers', 'attachments' ) ); -
/** * Filters the default wp_mail() charset. */ apply_filters( 'wp_mail_charset', $charset ); -
/** * Filters the wp_mail() content type. */ apply_filters( 'wp_mail_content_type', $content_type ); -
/** * Filters the email address to send from. */ apply_filters( 'wp_mail_from', $from_email ); -
/** * Filters the name to associate with the "from" email address. */ apply_filters( 'wp_mail_from_name', $from_name ); -
/** * Fires after PHPMailer has successfully sent an email. */ do_action( 'wp_mail_succeeded', $mail_data ); -
do_action( 'groundhogg/api/funnel/updated', $funnel ); -
do_action( 'groundhogg/api/email/updated', $email ); -
apply_filters( "groundhogg/bulk_job/{$this->get_bulk_action()}/query", [] ); -
apply_filters( "groundhogg/form/fields/{$this->get_shortcode_name()}", $content ); -
apply_filters( 'groundhogg/log/bulk_actions', $actions ); -
apply_filters( 'admin_memory_limit', $wp_max_limit ); -
do_action( "groundhogg/{$this->get_object_type()}/duplicated", $object, $this ); -
apply_filters( "groundhogg/{$this->get_object_type()}/setup", $object ); -
do_action( "groundhogg/admin/{$this->get_slug()}", $this ); -
groundhogg/admin/{$this->get_slug()}/{$this->get_current_tab()}
action Copy link Customise this hookdo_action( "groundhogg/admin/{$this->get_slug()}/{$this->get_current_tab()}", $this ); -
do_action( "groundhogg/admin/{$this->get_slug()}/after" ); -
do_action( "groundhogg/admin/{$this->get_slug()}/before" ); -
do_action( "groundhogg/admin/{$this->get_slug()}/display/{$method}", $this ); -
do_action( 'groundhogg/admin/tags/add', $id ); -
do_action( 'groundhogg/admin/tags/edit', $id ); -
do_action( 'groundhogg/api/v3/forms/submit', $request ); -
apply_filters( "groundhogg/bulk_job/{$this->get_bulk_action()}/max_items", 25, $items ); -
apply_filters( 'groundhogg/cron/verified', true ); -
apply_filters( "groundhogg/db/get/{$this->get_object_type()}", $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $this->table_name WHERE $column = %s LIMIT 1;", $row_id ) ) ); -
do_action( "groundhogg/db/pre_insert/{$this->get_object_type()}", $data ); -
apply_filters( "groundhogg/db/pre_insert/{$this->get_object_type()}", $data, $column_formats ); -
apply_filters( 'groundhogg/email_template/apple_link_css', [ 'color' => '#999999', 'font-size' => '12px', 'text-align' => $footer_alignment ] ); -
apply_filters( 'groundhogg/email_template/browser_view_text', __( 'View this email in your browser.', 'groundhogg' ) ); -
apply_filters( 'groundhogg/email_template/title', 'Email' ); -
apply_filters( 'groundhogg/form/embed', $form, $this ); -
apply_filters( 'groundhogg/form/fields/number/validate', intval( $input ) ); -
apply_filters( 'groundhogg/form/shortcode', $form, $this ); -
do_action( 'groundhogg/form/submission_handler/admin_submission', $submission, $contact, $this ); -
apply_filters( 'groundhogg/form/submission_handler/is_spam', in_array( true, $checks ) ); -
apply_filters( 'groundhogg/has_accepted_cookies', true ); -
apply_filters( 'groundhogg/html/dropdown_owners', $this->dropdown( $a ), $a ); -
do_action( 'groundhogg/log/custom_column', $email, $column_name ); -
do_action( 'groundhogg/object_merged', $this, $other, $this->get_object_type() ); -
do_action( 'groundhogg/object_pre_merge', $this, $other, $this->get_object_type() ); -
apply_filters( 'groundhogg/recaptcha/v3/score_threshold', get_option( 'gh_recaptcha_v3_score_threshold', 0.5 ) ); -
apply_filters( 'groundhogg/replacements/confirmation_text', Plugin::$instance->settings->get_option( 'confirmation_text', __( 'Confirm your email.', 'groundhogg' ) ) ); -
apply_filters( 'groundhogg/roles/caps/reporting', $caps ); -
do_action( "groundhogg/steps/{$this->get_type()}/sortable/inside", $step ); -
do_action( 'groundhogg/steps/sortable/inside', $step, $this ); -
do_action( 'groundhogg/steps/sortable/labels', $step, $this ); -
do_action( 'groundhogg/templates/email/full-width/content/after' ); -
do_action( 'groundhogg/templates/email/full-width/content/before' ); -
do_action( 'groundhogg/templates/email/head/style' ); -
do_action( "groundhogg/updater/{$this->get_updater_name()}/{$func}" ); -
do_action( "groundhogg/updater/{$this->get_updater_name()}/finished" ); -
do_action( "{$this->filter_prefix}_get_template_part_{$slug}", $slug, $name ); -
apply_filters( 'action_scheduler_use_cpu_execution_time', defined( 'PANTHEON_ENVIRONMENT' ) ); -
apply_filters( 'add_movie_quotes', $quotes ); -
do_action( "get_template_part_{$slug}", $slug, $name ); -
apply_filters( 'gh_event_views', array_filter( array_merge( $views, $more_views ) ) ); -
apply_filters( 'groundhogg_contact_bulk_actions', $actions ); -
apply_filters( 'groundhogg_contact_columns', $columns ); -
apply_filters( 'groundhogg_contact_row_actions', $actions, $contact, $column_name ); -
apply_filters( 'groundhogg_contact_sortable_columns', $sortable_columns ); -
do_action( 'groundhogg_contacts_custom_column', $contact, $column_name ); -
apply_filters( 'groundhogg_email_bulk_actions', $actions ); -
do_action( 'groundhogg_enqueue_broadcast_assets' ); -
do_action( 'groundhogg_enqueue_broadcast_calendar_assets' ); -
do_action( 'groundhogg_enqueue_filter_assets' ); -
do_action( 'groundhogg_enqueue_step_type_assets' ); -
apply_filters( 'groundhogg_event_bulk_actions', $actions ); -
apply_filters( 'groundhogg_event_columns', $columns ); -
apply_filters( 'groundhogg_event_row_actions', $actions, $event, $column_name ); -
apply_filters( 'groundhogg_event_sortable_columns', $sortable_columns ); -
do_action( 'groundhogg_events_custom_column', $event, $column_name ); -
do_action( 'groundhogg_funnels_custom_column', $funnel, $column_name ); -
apply_filters( 'groundhogg_funnels_get_columns', $columns ); -
apply_filters( 'groundhogg_funnels_get_sortable_columns', $sortable_columns ); -
apply_filters( 'groundhogg_rewrite_rules', $rules ); -
apply_filters( 'groundhogg_sysinfo_after_bounce_config', $return ); -
apply_filters( 'groundhogg_sysinfo_after_compliance_config', $return ); -
apply_filters( 'groundhogg_sysinfo_after_cron_config', $return ); -
apply_filters( 'groundhogg_sysinfo_after_email_config', $return ); -
apply_filters( 'groundhogg_sysinfo_after_groundhogg_templates', $return ); -
apply_filters( 'groundhogg_sysinfo_after_host_info', $return ); -
apply_filters( 'groundhogg_sysinfo_after_php_config', $return ); -
apply_filters( 'groundhogg_sysinfo_after_php_ext', $return ); -
apply_filters( 'groundhogg_sysinfo_after_plugin_config', $return ); -
apply_filters( 'groundhogg_sysinfo_after_session_config', $return ); -
apply_filters( 'groundhogg_sysinfo_after_site_info', $return ); -
apply_filters( 'groundhogg_sysinfo_after_tables', $return ); -
apply_filters( 'groundhogg_sysinfo_after_user_browser', $return ); -
apply_filters( 'groundhogg_sysinfo_after_webserver_config', $return ); -
apply_filters( 'groundhogg_sysinfo_after_wordpress_config', $return ); -
apply_filters( 'groundhogg_sysinfo_after_wordpress_ms_plugins', $return ); -
apply_filters( 'groundhogg_sysinfo_after_wordpress_mu_plugins', $return ); -
apply_filters( 'groundhogg_sysinfo_after_wordpress_plugins', $return ); -
apply_filters( 'groundhogg_sysinfo_after_wordpress_plugins_inactive', $return ); -
do_action( "groundhogg/{$this->get_installer_name()}/activated" ); -
do_action( "groundhogg/{$this->get_installer_name()}/activating" ); -
do_action( "groundhogg/{$this->get_installer_name()}/deactivated" ); -
do_action( "groundhogg/{$this->get_installer_name()}/deactivating" ); -
apply_filters( "groundhogg/{$this->get_object_type()}/allowed_mimes", $allowed_mimes ); -
apply_filters( "groundhogg/{static::extension_hook_prefix()}/expand_options", array_merge( $options, array_keys( self::$extensions ) ) ); -
apply_filters( "groundhogg/{static::extension_hook_prefix()}/properties", $properties ); -
apply_filters( "groundhogg/{static::extension_hook_prefix()}/transform", $data, $object, $include ); -
do_action( 'groundhogg/activated', $this->get_installer_name() ); -
do_action( 'groundhogg/activating', $this->get_installer_name() ); -
apply_filters( "groundhogg/admin/{$this->get_slug()}/{$callback}", $exitCode ); -
groundhogg/admin/{$this->get_slug()}/{$this->get_current_action()}/pointers
filter Copy link Customise this hookapply_filters( "groundhogg/admin/{$this->get_slug()}/{$this->get_current_action()}/pointers", $pointers ); -
groundhogg/admin/{$this->get_slug()}/{$this->get_current_action()}/title_actions
filter Copy link Customise this hookapply_filters( "groundhogg/admin/{$this->get_slug()}/{$this->get_current_action()}/title_actions", $this->get_title_actions() ); -
groundhogg/admin/{$this->get_slug()}/display/{$this->get_current_action()}
action Copy link Customise this hookdo_action( "groundhogg/admin/{$this->get_slug()}/display/{$this->get_current_action()}", $this ); -
do_action( 'groundhogg/admin/broadcasts/table/column_default', $broadcast, $column_name ); -
apply_filters( 'groundhogg/admin/broadcasts/table/get_views', $views ); -
apply_filters( 'groundhogg/admin/broadcasts/table/handle_row_actions', $actions, $broadcast, $column_name ); -
apply_filters( 'groundhogg/admin/bulk_processor_args', $bp_args ); -
do_action( "groundhogg/admin/campaigns/table/{$column_name}", $tag ); -
apply_filters( 'groundhogg/admin/campaigns/table/bulk_actions', $actions ); -
apply_filters( 'groundhogg/admin/campaigns/table/get_columns', $columns ); -
apply_filters( 'groundhogg/admin/campaigns/table/sortable_columns', $sortable_columns ); -
apply_filters( 'groundhogg/admin/checklist_items', $checklist_items ); -
do_action( 'groundhogg/admin/contact/basic_details', $contact ); -
do_action( "groundhogg/admin/contact/info_card/{$id}", $contact ); -
do_action( "groundhogg/admin/contact/record/tab/{$tab}", $contact, $tab ); -
apply_filters( 'groundhogg/admin/contact/record/tabs', $tabs ); -
apply_filters( 'groundhogg/admin/contact/record/tabs_after', $tabs ); -
do_action( 'groundhogg/admin/contact/record/user/after', $contact ); -
do_action( 'groundhogg/admin/contact/save', $contact->get_id(), $contact ); -
do_action( "groundhogg/admin/contacts/{$status}", $contact ); -
do_action( 'groundhogg/admin/contacts/add/before' ); -
do_action( 'groundhogg/admin/contacts/edit/scripts' ); -
apply_filters( 'groundhogg/admin/contacts/exclude_meta_list', [ 'alternate_emails', 'alternate_phones', 'birthday', 'birthday_month', 'birthday_day', 'birthday_year', 'lead_source', 'source_page', 'page_source', 'terms_agreement', 'terms_agreement_date', 'gdpr_consent', 'gdpr_consent_date', 'marketing_consent', 'marketing_consent_date', 'mobile_phone', 'primary_phone', 'primary_phone_extension', 'street_address_1', 'street_address_2', 'time_zone', 'times_... ); -
do_action( 'groundhogg/admin/contacts/register_info_cards', $this ); -
do_action( 'groundhogg/admin/contacts/register_table_columns', $this ); -
apply_filters( 'groundhogg/admin/contacts/search_query', $query ); -
do_action( 'groundhogg/admin/funnels/editor_scripts', $funnel ); -
do_action( 'groundhogg/admin/init', $this ); -
apply_filters( 'groundhogg/admin/recommendation_items', $checklist_items ); -
do_action( 'groundhogg/admin/register_settings/after', $this ); -
do_action( 'groundhogg/admin/register_settings/before', $this ); -
do_action( 'groundhogg/admin/report/lead_score' ); -
apply_filters( 'groundhogg/admin/reporting/tabs', $tabs ); -
do_action( 'groundhogg/admin/reports/pages/broadcast/after_quick_stats' ); -
do_action( 'groundhogg/admin/reports/pages/email_step/after_quick_stats' ); -
do_action( 'groundhogg/admin/reports/pages/email/after_quick_stats' ); -
do_action( 'groundhogg/admin/reports/pages/funnels/after_quick_stats' ); -
do_action( 'groundhogg/admin/reports/pages/funnels/after_reports' ); -
apply_filters( 'groundhogg/admin/reports/predefined_colors', $predefined_colors ); -
apply_filters( 'groundhogg/admin/reports/reports_to_load', $reports_to_load ); -
apply_filters( 'groundhogg/admin/reports/tab', $reports ); -
do_action( "groundhogg/admin/settings/{$this->active_tab()}/after_form" ); -
do_action( "groundhogg/admin/settings/{$this->active_tab()}/after_settings" ); -
do_action( "groundhogg/admin/settings/{$this->active_tab()}/after_submit" ); -
do_action( 'groundhogg/admin/settings/init_defaults', $this ); -
apply_filters( 'groundhogg/admin/settings/sections', $sections ); -
apply_filters( 'groundhogg/admin/settings/settings', $settings ); -
apply_filters( 'groundhogg/admin/settings/tabs', $tabs ); -
do_action( "groundhogg/admin/table/{$this->get_table_id()}/column_default", $item, $column_name ); -
apply_filters( "groundhogg/admin/table/{$this->get_table_id()}/get_views", $views ); -
do_action( 'groundhogg/admin/tags/add/form' ); -
do_action( 'groundhogg/admin/tags/edit/form', $id ); -
do_action( "groundhogg/admin/tags/table/{$column_name}", $tag ); -
apply_filters( 'groundhogg/admin/tags/table/get_columns', $columns ); -
apply_filters( 'groundhogg/admin/tags/table/sortable_columns', $sortable_columns ); -
apply_filters( 'groundhogg/admin/themes', [ 'default' => _x( 'Default', 'admin theme', 'groundhogg' ), 'light' => _x( 'Light', 'admin theme', 'groundhogg' ), 'paper' => _x( 'Paper', 'admin theme', 'groundhogg' ), 'slate' => _x( 'Slate (dark)', 'admin theme', 'groundhogg' ), 'midnight' => _x( 'Midnight (dark)', 'admin theme', 'groundhogg' ), ] ); -
do_action( 'groundhogg/admin/tools/export' ); -
apply_filters( 'groundhogg/admin/tools/install', [] ); -
do_action( 'groundhogg/admin/tools/network_updates' ); -
do_action( 'groundhogg/admin/tools/system_status/after' ); -
do_action( 'groundhogg/admin/tools/system_status/before' ); -
apply_filters( 'groundhogg/admin/tools/tabs', $tabs ); -
apply_filters( 'groundhogg/admin/tools/title_action', $actions, $this ); -
apply_filters( 'groundhogg/admin/tools/updaters', [] ); -
do_action( 'groundhogg/admin/tools/updates', get_request_var( 'updater' ) ); -
apply_filters( 'groundhogg/admin/unsubscribe_reasons', [ 'not_subscribed' => _x( 'Doesn\'t know why they\'re subscribed', 'admin unsubscribe reason', 'groundhogg' ), 'not_interested' => _x( 'Not interested', 'admin unsubscribe reason', 'groundhogg' ), 'irrelevant' => _x( 'Irrelevant content', 'admin unsubscribe reason', 'groundhogg' ), 'too_often' => _x( 'Too many emails', 'admin unsubscribe reason', 'groundhogg' ), 'too_complicated' => _x( 'Too co... ); -
apply_filters( 'groundhogg/admin/welcome/name', 'Groundhogg' ); -
do_action( "groundhogg/api/{$this->get_object_type()}/created", $object ); -
do_action( "groundhogg/api/{$this->get_object_type()}/deleted", $object ); -
do_action( "groundhogg/api/{$this->get_object_type()}/updated", $object ); -
apply_filters( 'groundhogg/api/broadcasts/archive/item', $json, $item, $request ); -
do_action( 'groundhogg/api/email/created', $email ); -
do_action( 'groundhogg/api/funnel/created', $funnel ); -
do_action( 'groundhogg/api/v3/init', $this ); -
do_action( 'groundhogg/api/v3/tracking/form-impression' ); -
do_action( 'groundhogg/api/v3/tracking/page-view', $ref, $contact ); -
apply_filters( 'groundhogg/api/v4/class_map', [ 'contact' => Contact::class, 'tag' => Tag::class, 'note' => Note::class, 'email' => Email::class, 'step' => Step::class, 'funnel' => Funnel::class, 'broadcast' => Broadcast::class, 'event' => Event::class, 'activity' => Activity::class, 'campaign' => Campaign::class ] ); -
do_action( 'groundhogg/api/v4/init', $this ); -
do_action( 'groundhogg/api/v4/tracking/form-impression' ); -
apply_filters( 'groundhogg/auto_login/redirect_to', get_url_var( 'redirect_to', $target_fallback_page ) ); -
apply_filters( 'groundhogg/background_tasks/schedule_time', $time, $task ); -
apply_filters( 'groundhogg/bg_task_log/columns', $columns ); -
apply_filters( 'groundhogg/bg_task_log/sortable_columns', $sortable_columns ); -
apply_filters( 'groundhogg/big_file_upload/allowed_types', $allowed_types, $location ); -
apply_filters( 'groundhogg/big_file_upload/file_path', $file_path, $location ); -
do_action( 'groundhogg/broadcast/after', $this, $contact, $event ); -
do_action( 'groundhogg/broadcast/before', $this, $contact, $event ); -
apply_filters( 'groundhogg/build_with_ai/prompt', implode( "\n", $lines ), $type, $subject ); -
apply_filters( "groundhogg/bulk_job/{$this->get_action()}/send_response", $response ); -
apply_filters( "groundhogg/bulk_job/{$this->get_current_action()}/max_items", 25, $items ); -
apply_filters( "groundhogg/bulk_job/{$this->get_current_action()}/query", [] ); -
do_action( 'groundhogg/bulk_jobs/init', $this ); -
apply_filters( 'groundhogg/can_edit_preferences', $can_edit_preferences ); -
apply_filters( 'groundhogg/confirmation_url', $url, $contact ); -
apply_filters( 'groundhogg/confirmed/redirect_to', $redirect_to, $contact ); -
do_action( "groundhogg/contact/{$hook}", $contact ); -
do_action( "groundhogg/contact/added_{$type}_consent", $this ); -
do_action( 'groundhogg/contact/agreed_to_terms', $this ); -
apply_filters( 'groundhogg/contact/can_link_to_user', $can, $user_id ); -
apply_filters( 'groundhogg/contact/profile_picture', $profile_pic, $this->get_id(), $this ); -
do_action( 'groundhogg/contact/record/after', $contact ); -
do_action( 'groundhogg/contact/record/company_info/after', $contact ); -
do_action( 'groundhogg/contact/record/contact_info/after', $contact ); -
do_action( 'groundhogg/contact/record/email_status/after', $contact ); -
do_action( 'groundhogg/contact/record/email/after', $contact ); -
do_action( 'groundhogg/contact/record/general_info', $contact ); -
do_action( "groundhogg/contact/revoked_{$type}_consent", $this ); -
apply_filters( 'groundhogg/contact/update/basic_fields', $basic_text_fields, $contact ); -
apply_filters( 'groundhogg/contacts/add_tag/before', $tags ); -
apply_filters( 'groundhogg/contacts/remove_tag/before', $tags ); -
apply_filters( 'groundhogg/create_user_from_contact/new_user_args', [ 'user_pass' => wp_generate_password(), 'user_email' => $contact->get_email(), 'user_login' => apply_filters( 'groundhogg/create_user_from_contact/user_login', $contact->get_email(), $contact ), 'user_nicename' => $contact->get_full_name(), 'display_name' => $contact->get_full_name(), 'first_name' => $contact->get_first_name(), 'last_name' => $contact->get_last_name(), 'role' => $role, 'locale... ); -
apply_filters( 'groundhogg/create_user_from_contact/user_login', $contact->get_email(), $contact ); -
apply_filters( 'groundhogg/cron_is_working', $gh_cron_setup ); -
do_action( "groundhogg/db/delete_orphaned_meta/{$this->get_object_type()}", $this ); -
apply_filters( "groundhogg/db/get_column/{$this->get_object_type()}", $wpdb->get_var( $wpdb->prepare( "SELECT $column FROM $this->table_name WHERE $column_where = $column_format LIMIT 1;", $column_value ) ) ); -
do_action( 'groundhogg/db/manager/init', $this ); -
apply_filters( "groundhogg/db/mass_update/{$this->get_object_type()}", $data, $column_formats ); -
do_action( "groundhogg/db/post_bulk_delete/{$this->get_object_type()}", $where ); -
do_action( 'groundhogg/db/post_delete', $this->get_object_type(), $by_primary ? $id : $where, $column_formats, $this ); -
do_action( "groundhogg/db/post_delete/{$this->get_object_type()}", $by_primary ? $id : $where, $column_formats, $this ); -
do_action( "groundhogg/db/post_insert/{$this->get_object_type()}", $wpdb_insert_id, $data ); -
do_action( "groundhogg/db/post_mass_update/{$this->get_object_type()}", $data ); -
do_action( "groundhogg/db/post_update/{$this->get_object_type()}", $where ); -
do_action( "groundhogg/db/pre_bulk_delete/{$this->get_object_type()}", $where ); -
do_action( 'groundhogg/db/pre_bulk_delete/tag_relationships', wp_parse_id_list( $tags ) ); -
do_action( 'groundhogg/db/pre_delete', $this->get_object_type(), $by_primary ? $id : $where, $column_formats, $this ); -
do_action( "groundhogg/db/pre_delete/{$this->get_object_type()}", $by_primary ? $id : $where, $column_formats, $this ); -
do_action( "groundhogg/db/pre_mass_update/{$this->get_object_type()}", $data ); -
do_action( "groundhogg/db/pre_update/{$this->get_object_type()}", $where, $data ); -
apply_filters( "groundhogg/db/pre_update/{$this->get_object_type()}", $data, $where ); -
apply_filters( "groundhogg/db/query/{$this->get_object_type()}", $results, $query_vars ); -
apply_filters( 'groundhogg/db/sql_query', $sql, $query_vars ); -
apply_filters( 'groundhogg/db/sql_query_clauses', $clauses, $query_vars ); -
do_action( 'groundhogg/deactivated', $this->get_installer_name() ); -
do_action( 'groundhogg/deactivating', $this->get_installer_name() ); -
apply_filters( 'groundhogg/default_field_label', $label, $field ); -
do_action( 'groundhogg/edit_contacts/post_loop' ); -
do_action( 'groundhogg/edit_contacts/pre_loop' ); -
do_action( 'groundhogg/edit_contacts/updated', $contact ); -
apply_filters( 'groundhogg/email_is_same_domain', $is_same, $email, $site_domain ); -
do_action( 'groundhogg/email_logger/after_create_log', self::$log_item, $this ); -
do_action( 'groundhogg/email_logger/before_create_log', $this ); -
apply_filters( 'groundhogg/email_logger/before_create_log/log_data', $log_data, $this ); -
do_action( 'groundhogg/email_notification/run/after', $this, $contact, $event ); -
do_action( 'groundhogg/email_notification/run/before', $this, $contact, $event ); -
apply_filters( 'groundhogg/email_reports/content', $content, $report_type ); -
apply_filters( 'groundhogg/email_reports/recipients', $recipients, $report_type ); -
apply_filters( 'groundhogg/email_reports/subject', $subject, $report_type ); -
do_action( 'Groundhogg/email_services/init' ); -
apply_filters( 'groundhogg/email_template/alignment', 'center' ); -
apply_filters( 'groundhogg/email_template/body_css', $body ); -
apply_filters( 'groundhogg/email_template/browser_view_link', home_url() ); -
apply_filters( 'groundhogg/email_template/container_css', [ 'font-family' => 'Arial, "Helvetica Neue", Helvetica, sans-serif', 'font-size' => '14px', 'vertical-align' => 'top', 'display' => 'block', 'width' => '100%', 'padding' => '0px', ] ); -
apply_filters( 'groundhogg/email_template/content', '' ); -
apply_filters( 'groundhogg/email_template/content_css', [ 'box-sizing' => 'border-box', 'display' => 'block', 'Margin' => '0 auto', 'width' => '100%', 'max-width' => $email_width . 'px', 'padding' => '5px', ] ); -
apply_filters( 'groundhogg/email_template/open_tracking_link', '' ); -
apply_filters( 'groundhogg/email_template/pre_header_text', '' ); -
apply_filters( 'groundhogg/email_template/pre_unsubscribe_text', esc_html__( "Don't want these emails?", 'groundhogg' ) ); -
apply_filters( 'groundhogg/email_template/preheader_css', [ 'color' => 'transparent', 'display' => 'none', 'height' => '0', 'max-height' => '0', 'max-width' => '0', 'opacity' => '0', 'overflow' => 'hidden', 'mso-hide' => 'all', 'visibility' => 'hidden', 'width' => '0', ] ); -
apply_filters( 'groundhogg/email_template/show_browser_view', false ); -
apply_filters( 'groundhogg/email_template/unsubscribe_link', home_url() ); -
apply_filters( 'groundhogg/email_template/unsubscribe_text', esc_html__( "Unsubscribe", 'groundhogg' ) ); -
apply_filters( 'groundhogg/email_template/width', get_option( 'get_default_email_width', 580 ) ); -
apply_filters( 'groundhogg/email_template/wrapper_css', [ 'border-collapse' => 'separate', 'mso-table-lspace' => '0pt', 'mso-table-rspace' => '0pt', 'width' => '100%', 'background-color' => '#FFFFFF' ] ); -
do_action( 'groundhogg/email/after_send', $this ); -
do_action_ref_array( 'groundhogg/email/before_send', [ $this, &$to, &$subject, &$content, &$headers ] ); -
apply_filters( 'groundhogg/email/css', $css, $this ); -
apply_filters( 'groundhogg/email/get_merged_content', $content ); -
apply_filters( 'groundhogg/email/pre_header', $pre_header ); -
do_action( 'groundhogg/email/send_failed', $this ); -
apply_filters( 'groundhogg/email/subject', $subject, $this, $this->get_contact() ); -
apply_filters( 'groundhogg/email/template', $this->get_meta( 'template' ) ?: 'boxed' ); -
apply_filters( 'groundhogg/email/the_content', $content ); -
apply_filters( 'groundhogg/email/width', absint( $this->get_meta( 'width' ) ?: get_default_email_width() ), $this ); -
do_action( 'groundhogg/enqueue_api_docs' ); -
do_action( 'groundhogg/enqueue_email_block_editor_assets' ); -
do_action( 'groundhogg/event_queue/after_process' ); -
do_action( 'groundhogg/event_queue/before_process' ); -
apply_filters( 'groundhogg/event_queue/is_enabled', true, $this ); -
apply_filters( 'groundhogg/event_queue/max_events', 50 ); -
apply_filters( 'groundhogg/event_queue/max_time_limit', MINUTE_IN_SECONDS ); -
apply_filters( 'groundhogg/event_queue/queue_interval', self::WP_CRON_INTERVAL ); -
do_action( 'groundhogg/event/cancelled', $this ); -
do_action( 'groundhogg/event/complete', $this ); -
do_action( 'groundhogg/event/failed', $this, $this->get_last_error() ); -
apply_filters( 'groundhogg/event/get_event_type_label', $labels, $type ); -
do_action( 'groundhogg/event/in_progress', $this ); -
do_action( 'groundhogg/event/maybe_register_step_callbacks' ); -
do_action( 'groundhogg/event/pause', $this ); -
do_action( 'groundhogg/event/post_setup', $this ); -
apply_filters( 'groundhogg/event/post_setup/step_class', false, $this ); -
do_action( 'groundhogg/event/queued', $this ); -
do_action( 'groundhogg/event/run/before', $this ); -
do_action( 'groundhogg/event/skipped', $this ); -
apply_filters( 'groundhogg/export_header_name', $header, $key, $type ); -
apply_filters( 'groundhogg/exportable_fields', $fields ); -
apply_filters( 'groundhogg/extension/description', $this->get_plugin_data( 'Description' ) ); -
apply_filters( 'groundhogg/extension/name', $this->get_plugin_data( 'Name' ) ); -
apply_filters( "groundhogg/files/uploads/{$type}", $base ); -
apply_filters( 'groundhogg/form/fields/address/validate', array_map( 'sanitize_text_field', $input ) ); -
apply_filters( 'groundhogg/form/fields/birthday/validate', array_map( 'absint', $input ) ); -
apply_filters( 'groundhogg/form/fields/email/validate', $input ); -
apply_filters( 'groundhogg/form/fields/first/validate', sanitize_textarea_field( $input ) ); -
do_action( 'groundhogg/form/fields/init', $this ); -
apply_filters( 'groundhogg/form/fields/input/validate', sanitize_text_field( $input ) ); -
apply_filters( 'groundhogg/form/fields/last/validate', sanitize_textarea_field( $input ) ); -
apply_filters( 'groundhogg/form/fields/textarea/validate', sanitize_textarea_field( $input ) ); -
do_action( 'groundhogg/form/register_fields' ); -
groundhogg/form/submission_handler/{$this->get_field_config_att($field,'type')}/validate
filter Copy link Customise this hookapply_filters( "groundhogg/form/submission_handler/{$this->get_field_config_att($field,'type')}/validate", call_user_func_array( $callback, [ $value, $this->get_field_config( $field ) ] ) ); -
do_action( 'groundhogg/form/submission_handler/before_create_contact', $args, $meta, $tags, $files, $this ); -
apply_filters( 'groundhogg/form/submission_handler/contact_args', $args ); -
apply_filters( 'groundhogg/form/submission_handler/feed', true, $submission, $contact, $this ); -
do_action_ref_array( 'groundhogg/form/v2/after_create_contact', [ $posted_data, $contact ] ); -
do_action_ref_array( 'groundhogg/form/v2/before_create_contact', [ $posted_data, &$data, &$meta, &$tags, $this ] ); -
apply_filters( 'groundhogg/form/v2/success_url', $url, $this ); -
apply_filters( 'groundhogg/funnel/export', $export, $this ); -
do_action( 'groundhogg/funnel/import/after', $this, $data ); -
do_action_ref_array( 'groundhogg/generate_contact_with_map/before', [ &$fields, &$map ] ); -
apply_filters( 'groundhogg/get_default_from_email', $from ); -
apply_filters( 'groundhogg/get_default_from_name', $from ); -
apply_filters( 'groundhogg/get_filters_from_old_query_vars', $filters, $query ); -
apply_filters( 'groundhogg/get_key_display_name', $key ); -
apply_filters( 'groundhogg/get_request_query/ignore', [ 'page', 'paged', 'ids', 'tab', 'view', 'action', 'bulk_action', '_wpnonce', 'submit', 'operation' ] ); -
apply_filters( 'groundhogg/get_return_path_email', $return ); -
apply_filters( 'groundhogg/get_valid_contact_tabs', [ 'activity' => __( 'Activity Timeline', 'groundhogg' ), 'notes' => __( 'Notes', 'groundhogg' ), 'tasks' => __( 'Tasks', 'groundhogg' ), 'files' => __( 'Files', 'groundhogg' ), 'messages' => __( 'Messages', 'groundhogg' ), ] ); -
apply_filters( 'groundhogg/html/button', $this->e( 'button', $a, $text, false, $echo ), $a ); -
apply_filters( 'groundhogg/html/checkbox', $html, $a ); -
apply_filters( 'groundhogg/html/color_picker', $html, $args ); -
apply_filters( 'groundhogg/html/date_picker', $html, $a ); -
apply_filters( 'groundhogg/html/dropdown_contacts', $this->select2( $a ), $a ); -
apply_filters( 'groundhogg/html/dropdown_emails', $this->select2( $a ), $a ); -
apply_filters( 'groundhogg/html/font_picker', $this->dropdown( $a ), $a ); -
apply_filters( 'groundhogg/html/image_picker', $html, $a ); -
apply_filters( 'groundhogg/html/input', $html, $a ); -
apply_filters( 'groundhogg/html/link_picker', $html, $args ); -
apply_filters( 'groundhogg/html/meta_picker', $html, $args ); -
apply_filters( 'groundhogg/html/number', $this->input( $a ), $a ); -
apply_filters( 'groundhogg/html/progress_bar', $bar, $a ); -
apply_filters( 'groundhogg/html/range', $this->input( $a ), $a ); -
apply_filters( 'groundhogg/html/round_robin', $this->select2( $a ), $a ); -
apply_filters( 'groundhogg/html/select', $this->e( 'select', $a, $optionHTML, false ), $a ); -
apply_filters( 'groundhogg/html/select2', $html, $a ); -
apply_filters( 'groundhogg/html/tag_picker', $this->select2( $a ), $a ); -
apply_filters( 'groundhogg/html/textarea', $html, $a ); -
apply_filters( 'groundhogg/html/toggle', $html, $a ); -
do_action( 'groundhogg/import_contacts/clean_up' ); -
do_action( 'groundhogg/import_contacts/post_loop' ); -
do_action( 'groundhogg/import_contacts/pre_loop' ); -
do_action( 'groundhogg/import/form/after' ); -
do_action( 'groundhogg/import/form/before' ); -
do_action( 'groundhogg/inbox/disabled' ); -
apply_filters( 'groundhogg/inbox/endpoint', rest_url( 'gh/v4/messages/inbound' ) ); -
apply_filters( 'groundhogg/inbox/license_key', $key ?: '' ); -
apply_filters( 'groundhogg/inbox/license_url', License_Manager::network_license_url( $license_key ), $license_key ); -
apply_filters( 'groundhogg/inbox/terms_url', 'https://groundhogg.io/terms-and-conditions/' ); -
do_action( 'groundhogg/inbox/updated', $rotate_secret ); -
do_action( 'groundhogg/install_custom_rewrites' ); -
apply_filters( 'groundhogg/is_admin_bar_widget_disabled', is_user_preference_enabled( 'gh_is_admin_bar_widget_disabled' ) ); -
apply_filters( 'groundhogg/is_template_site', defined( 'IS_GROUNDHOGG_TEMPLATE_SITE' ) && IS_GROUNDHOGG_TEMPLATE_SITE ); -
apply_filters( 'groundhogg/is_url_excluded_from_tracking', $matched, $url, $exclusions_regex ); -
do_action( "groundhogg/lms/{$type}", $contact, $course, $lesson, $action ); -
apply_filters( 'groundhogg/location/get_real_ip', array_pop( $ips ) ); -
apply_filters( 'groundhogg/log/columns', $columns ); -
apply_filters( 'groundhogg/log/row_actions', $actions, $email, $column_name ); -
apply_filters( 'groundhogg/log/sortable_columns', $sortable_columns ); -
apply_filters( 'groundhogg/managed_page_name', $name ); -
do_action( 'groundhogg/managed_page_notices' ); -
apply_filters( 'groundhogg/mappable_fields', $fields ); -
apply_filters( 'groundhogg/mcp/endpoint', rest_url( 'mcp/mcp-adapter-default-server' ) ); -
do_action( "groundhogg/meta/{$this->get_object_type()}/add", $object_id, $meta_key, $meta_value, $unique ); -
do_action( "groundhogg/meta/{$this->get_object_type()}/delete", $object_id, $meta_key, $meta_value ); -
do_action( "groundhogg/meta/{$this->get_object_type()}/get", $object_id, $meta_key, $single, $getted ); -
do_action( "groundhogg/meta/{$this->get_object_type()}/update", $object_id, $meta_key, $meta_value, $prev_value ); -
apply_filters( 'groundhogg/mobile/recent_kinds', self::KINDS ); -
do_action( 'groundhogg/my_day/failed', $user_id, $e ); -
do_action( 'groundhogg/notices/before' ); -
apply_filters( 'groundhogg/owner_roles', self::$owner_roles ); -
apply_filters( 'groundhogg/owners', $users ); -
apply_filters( 'groundhogg/preferences/gdpr_audit_message', $message ); -
do_action( 'groundhogg/preferences/gdpr_audit_message/after_basic', $contact ); -
do_action( 'groundhogg/preferences/gdpr_audit_message/after_other', $contact ); -
do_action( 'groundhogg/preferences/gdpr_audit_message/before', $contact ); -
apply_filters( 'groundhogg/preferences/gdpr_audit_subject_line', $subject_line ); -
do_action( 'groundhogg/preferences/manage/before' ); -
do_action( 'groundhogg/preferences/manage/form/after' ); -
do_action( 'groundhogg/preferences/manage/form/before' ); -
do_action( 'groundhogg/preferences/manage/preferences_updated', $contact, $preference ); -
apply_filters( 'groundhogg/preferences/optin_status_text', _x( 'Will receive marketing.', 'optin_status', 'groundhogg' ), $contact ); -
do_action( 'groundhogg/preferences/profile_form' ); -
do_action( 'groundhogg/preferences/profile_form/after' ); -
apply_filters( 'groundhogg/queue/enable_logging', false ); -
do_action_ref_array( 'groundhogg/queue/event_store/claim_events', [ &$query ] ); -
apply_filters( 'groundhogg/queue/event_store/get_queued_event_ids/clauses', [ $wpdb->prepare( '`status` = %s', Event::WAITING ), $wpdb->prepare( '`time` <= %d', time() ), ] ); -
apply_filters( 'groundhogg/replacements/contact_independent_codes', [ 'GET', 'redact', 'urlencode', 'html_context', 'plain_context', 'substr', 'date', 'groundhogg_day_quote', 'business_name', 'business_phone', 'business_address', 'site_url', 'posts', 'post_title', 'post_excerpt', 'post_content', 'post_featured_image', 'post_featured_image_url', 'post_url', ] ); -
apply_filters( 'groundhogg/replacements/default_groups', $groups ); -
apply_filters( 'groundhogg/replacements/defaults', $replacements ); -
do_action( 'groundhogg/replacements/init', $this ); -
apply_filters( 'groundhogg/replacements/low_sensitivity_codes', [ 'owner_first_name', 'owner_last_name', ] ); -
apply_filters( 'groundhogg/replacements/self_scoping_codes', [ 'form_submission', ] ); -
apply_filters( 'groundhogg/replacements/submission_scopable_codes', [ 'first' => 'first_name', 'first_name' => 'first_name', 'last' => 'last_name', 'last_name' => 'last_name', 'full_name' => 'full_name', 'email' => 'email', 'phone' => 'primary_phone', 'phone_ext' => 'primary_phone_extension', 'mobile_phone' => 'mobile_phone', 'line1' => 'street_address_1', 'line2' => 'street_address_2', 'city' => 'city', 'state' => 'region', 'zip_code' => 'postal_zip', 'country... ); -
apply_filters( 'groundhogg/replacements/user/allowed_keys', [ 'ID', 'user_login', 'user_nicename', 'user_email', 'user_url', 'user_registered', 'display_name', 'first_name', 'last_name', 'nickname', 'description', 'locale', ] ); -
do_action( 'groundhogg/reports/setup_default_reports/after', $this ); -
do_action( 'groundhogg/reset' ); -
apply_filters( 'groundhogg/roles/caps/broadcasts', $caps ); -
apply_filters( 'groundhogg/roles/caps/contacts', $caps ); -
apply_filters( 'groundhogg/roles/caps/emails', $caps ); -
apply_filters( 'groundhogg/roles/caps/events', $caps ); -
apply_filters( 'groundhogg/roles/caps/funnels', $caps ); -
apply_filters( 'groundhogg/roles/caps/logs', $caps ); -
apply_filters( 'groundhogg/roles/caps/notes', $caps ); -
apply_filters( 'groundhogg/roles/caps/other', $caps ); -
apply_filters( 'groundhogg/roles/caps/tags', $caps ); -
apply_filters( 'groundhogg/roles/caps/tasks', $caps ); -
apply_filters( 'groundhogg/roles/get_roles', [ [ 'role' => 'marketer', 'name' => esc_html_x( 'Marketer', 'role', 'groundhogg' ), 'caps' => [ 'read' => true, 'edit_posts' => true, 'delete_posts' => true, 'unfiltered_html' => true, 'upload_files' => true, 'export' => true, 'import' => true, 'delete_others_pages' => true, 'delete_others_posts' => true, 'delete_pages' => true, 'delete_private_pages' => true, 'delete_private_posts' => true, 'd... ); -
do_action( 'groundhogg/safe_mode_disabled' ); -
do_action( 'groundhogg/safe_mode_enabled' ); -
apply_filters( 'groundhogg/script/data', [ 'name' => get_bloginfo( 'name' ), 'locale' => str_replace( '_', '-', get_locale() ), 'user_test_email' => get_user_test_email(), 'user_test_emails' => get_user_meta( get_current_user_id(), 'gh_test_emails', true ) ?: [], 'assets' => [ 'path' => GROUNDHOGG_ASSETS_URL, 'images' => GROUNDHOGG_ASSETS_URL . 'images/', 'spinner' => ( is_white_labeled() ? GROUNDHOGG_ASSETS_URL . 'images/loading-orbi... ); -
do_action( 'groundhogg/scripts/after_register_admin_scripts', $this->is_script_debug_enabled(), $dot_min ); -
do_action( 'groundhogg/scripts/after_register_admin_styles' ); -
do_action( 'groundhogg/scripts/after_register_frontend_scripts', $this->is_script_debug_enabled(), $dot_min ); -
do_action( 'groundhogg/scripts/after_register_frontend_styles' ); -
apply_filters( 'groundhogg/segment_schema/audience_keys', $audience_keys ); -
apply_filters( 'groundhogg/segment_schema/filters', empty( $conditions ) ? [] : [ $conditions ], $input ); -
apply_filters( 'groundhogg/segment_schema/properties', $properties ); -
apply_filters( 'groundhogg/segment_schema/query', $query, $input ); -
apply_filters( 'groundhogg/select_from_users', get_owners() ); -
apply_filters( 'groundhogg/select_owners', has_team() ? get_team() : get_owners() ); -
do_action( 'groundhogg/set_lock', $object ); -
apply_filters( 'groundhogg/show_branding', true ); -
apply_filters( 'groundhogg/stats_collection/is_enabled', is_option_enabled( self::OPTIN_OPTION ) ); -
apply_filters( 'groundhogg/step/can_complete', false, $this, $contact ); -
apply_filters( 'groundhogg/step/next_sibling', $next, $this ); -
do_action( 'groundhogg/step/post_setup', $this ); -
do_action( "groundhogg/steps/{$this->get_type()}/run/after", $this ); -
do_action( "groundhogg/steps/{$this->get_type()}/run/before", $this ); -
do_action( "groundhogg/steps/{$this->get_type()}/settings/after", $step ); -
do_action( "groundhogg/steps/{$this->get_type()}/settings/before", $step ); -
do_action( 'groundhogg/steps/benchmarks/api', $call_name, $id_or_email, $by_user_id ); -
do_action( 'groundhogg/steps/benchmarks/form/extra_settings' ); -
do_action( 'groundhogg/steps/init', $this ); -
do_action( 'groundhogg/steps/post_import', $this ); -
apply_filters( 'groundhogg/steps/run/do_step', true, $this, $contact, $event ); -
apply_filters( 'groundhogg/steps/run/result', $result, $this, $contact, $event ); -
do_action( 'groundhogg/steps/save/after', $this, $step ); -
do_action( 'groundhogg/steps/settings/after', $this ); -
do_action( 'groundhogg/steps/settings/before', $this ); -
apply_filters( 'groundhogg/steps/sortable/classes', $classes, $step, $this ); -
do_action( 'groundhogg/submission_handler/setup', $this ); -
apply_filters( 'groundhogg/task/associated_context', $associated, $object ); -
do_action( "groundhogg/templates/email/{$template}/head" ); -
do_action( "groundhogg/templates/email/{$template}/style" ); -
do_action( 'groundhogg/templates/email/boxed/content/after' ); -
do_action( 'groundhogg/templates/email/boxed/content/before' ); -
do_action( 'groundhogg/templates/email/content/after' ); -
do_action( 'groundhogg/templates/email/content/before' ); -
do_action( "groundhogg/templates/email/css/{$file}" ); -
apply_filters( 'groundhogg/templates/email/has_posts', false ); -
do_action( 'groundhogg/templates/email/head' ); -
do_action( 'groundhogg/templates/email/head/after' ); -
do_action( "groundhogg/templates/email/part/{$part}" ); -
do_action( 'groundhogg/templates/email/preview-text/after' ); -
do_action( 'groundhogg/templates/email/preview-text/before' ); -
apply_filters( 'groundhogg/templates/emails', [] ); -
do_action( 'groundhogg/tools/misc' ); -
do_action( "groundhogg/track_activity/{$activity->activity_type}", $activity, $activity->get_contact() ); -
apply_filters( 'groundhogg/track_activity/args', $args, $contact ); -
apply_filters( 'groundhogg/track_live_activity/args', $args, $contact ); -
apply_filters( 'groundhogg/tracking/cookie_expiry', self::COOKIE_EXPIRY * DAY_IN_SECONDS ); -
apply_filters( 'groundhogg/tracking/get_cookie_vars', $cookie_vars ); -
apply_filters( 'groundhogg/tracking/ignore_user_precedence', is_option_enabled( 'gh_ignore_user_precedence' ) ); -
apply_filters( 'groundhogg/tracking/redirect_http_status_code', 307 ); -
apply_filters( 'groundhogg/tracking/set_cookie_vars', $this->cookie ); -
apply_filters( 'groundhogg/tracking/target_url', $target_url ); -
do_action( 'groundhogg/uninstall' ); -
apply_filters( 'groundhogg/unsubscribe_reasons', [ 'not_subscribed' => _x( "I don't know why I'm subscribed", 'unsubscribe reason', 'groundhogg' ), 'not_interested' => _x( "I'm no longer interested", 'unsubscribe reason', 'groundhogg' ), 'irrelevant' => _x( 'Your emails are not relevant to me', 'unsubscribe reason', 'groundhogg' ), 'too_often' => _x( 'You email me too often', 'unsubscribe reason', 'groundhogg' ), 'too_complicated' => _x( 'You... ); -
apply_filters( 'groundhogg/unsubscribe_url', $url, $contact ); -
do_action( "groundhogg/updater/{$updater}/force_updates" ); -
apply_filters( 'groundhogg/updater/display_name', $this->get_display_name() ); -
apply_filters( 'groundhogg/user_has_crm_content', $has_owned_content ); -
do_action( 'groundhogg/user_profile', $profile_user ); -
apply_filters( 'groundhogg/utils/get_object', $class, $object ); -
apply_filters( 'managed_page_classes', $classes, $action ); -
apply_filters( 'managed_page_title', $mp_title, $title ); -
do_action( 'qm/cease' ); -
apply_filters( 'rest_post_dispatch', rest_do_request( $request ), rest_get_server(), $request ); -
apply_filters( 'wpgh_api_row_actions', array_filter( $actions ) ); -
apply_filters( 'wpgh_broadcast_bulk_actions', $actions ); -
apply_filters( 'wpgh_contact_tag_bulk_actions', $actions ); -
apply_filters( 'wpgh_email_bulk_actions', $actions ); -
apply_filters( 'wpgh_email_columns', $columns ); -
do_action( 'wpgh_email_custom_column', $email, $column_name ); -
apply_filters( 'wpgh_email_pre_header', $pre_header ); -
apply_filters( 'wpgh_email_sortable_columns', $sortable_columns ); -
apply_filters( 'wpgh_exports_bulk_actions', $actions ); -
apply_filters( 'wpgh_form_builder_buttons', $buttons ); -
apply_filters( 'wpgh_imports_bulk_actions', $actions ); -
do_action( 'wpgh_settings_pre_register_sections', $this );
Generated from Groundhogg'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: