Search results for what are actions
431 articles found
-
groundhogg/admin/tags/edit
This hook is executed when the admin updates the tag from the edit screen of the tag page. do_action( 'groundhogg/admin/tags/edit', $id ); This hook provides a tag id as an argument.
-
groundhogg/event/in_progress
Used to run a block of code when the event before event goes to in progress mode. do_action('groundhogg/event/in_progress', $this); You will receive the object of an event class as an argument.
-
groundhogg/contact/preferences/updated
This hook executes when the contact's preference is changed. do_action( 'groundhogg/contact/preferences/updated', $this->ID, $preference, $old_preference ); This hook comes with three arguments: ID
-
groundhogg/event/queued
Used to run a block of code when the event is put in an execution queue by the Groundhogg plugin. do_action('groundhogg/event/queued', $this); You will receive the object of an event class as an
-
groundhogg/contact/preferences/unsubscribed
This hook executes when the contact changes its preference to unsubscribed. do_action( 'groundhogg/contact/preferences/unsubscribed', $this->ID, $preference, $old_preference ); This hook comes with
-
groundhogg/tracking/email/click
This hook is executed When tracking a link click redirect the user to the destination after performing the necessary tracking. do_action( 'groundhogg/tracking/email/click', $this ); This function
-
groundhogg/admin/{slug}/before
This hook used to add content to display on the admin page of the specific page at the top of the page. This hook accepts the slug of the page for unique identification.
-
groundhogg/submission_handler/setup
This hook executed when the Groundhogg form is submitted. This hook is useful to perform operations on the data. do_action( 'groundhogg/submission_handler/setup', $this ); This hook provides the
-
groundhogg/admin/{slug}/after
This hook used to add content to display on the admin page of the specific page at the end of the page. This hook accepts the slug of the page for unique identification.
-
groundhogg/form/shortcode/after
This function is used to add custom code after the form shortcode is processed by the Groundhogg form builder. do_action( 'groundhogg/form/shortcode/after', $this ); This hook provides the object of
-
groundhogg/form/shortcode/before
This function is used to add custom code before the form shortcode is processed by the Groundhogg form builder. do_action( 'groundhogg/form/shortcode/before', $this ); This hook provides the object
-
groundhogg/admin/emails/process_add/{tab}
This hook is used to handle the process custom tag process. This hook provides the functionality to manage the response. do_action( "groundhogg/admin/emails/process_add/{$tab}", $this ); This hook
-
groundhogg/tracking/email/opened
This hook is fired when Groundhogg detected that the email is open by the user. Groundhogg uses this matrix to display opened emails in the list of broadcasts. do_action(
-
groundhogg/email_notification/run/before
This hook is used to add custom code before an email notification sends to a customer. do_action( 'groundhogg/email_notification/run/before', $this, $contact, $event ); This hook provides three
-
groundhogg/email_notification/run/after
This hook is used to add custom code after email notification sends to a customer. do_action( 'groundhogg/email_notification/run/after', $this, $contact, $event ); This hook provides three objects to
-
groundhogg/form/embed/before
This function is used to add custom code before the embedded code. Embedded code is the HTML code which users can copy and paste from other sites to Groundhogg's form builder. do_action(
-
groundhogg/form/embed/after
This function is used to add custom code after the embedded code. Embedded code is the HTML code which users can copy and paste on other sites form groundhogg form builder. do_action(
-
groundhogg/admin/{slug}/display/{method}
This hook is useful for creating the custom method to execute on a specific tabbed page. This hook accepts the slug of the page and method name to execute. do_action(
-
groundhogg/contact/note/added
This Groundhogg hook executes when any note is added to the contact. do_action( 'groundhogg/contact/note/added', $this->ID, $note, $this ); This hook comes with three arguments which is: contact_id:
-
groundhogg/admin/{slug}/{current_tab}
This hook is used to add custom code in the tab layout page. This hook accepts the current tab value in tab thus users will be able to display custom code for a specific tab on the page. do_action(
-
Remove "powered by Groundhogg"
To remove add the code provided below to your theme's functions.php file or a snippets plugin. //Remove "powered by groundhogg" and link add_filter( 'groundhogg/proof/show_proof/credit_link_atts',
-
groundhogg/{object_type}/post_update
This hook is one of the core hooks of Groundhogg. This hook is executed when an updated operation completed. This hook accepts object type in it so it will run for that specific object only.
-
groundhogg/{object_type}/pre_update
This hook is one of the core hooks of Groundhogg. This hook is executed before the update operation in the database. This hook accepts object type in it so it will run for that specific object only.
-
WooCommerce: Custom code
Provided below is a code that can be added to accomplish different solutions for WooCommerce. Remove the WooCommerce meta box from the Contact based on the role. Remove the WooCommerce meta box Add
-
MemberPress: Snippets
Set opt-in status and consent when a member in MemberPress becomes active. Set Contact opt-in status and consent <?php add_action( 'mepr-account-is-active', 'set_contact_optin_status_and_consent', 11
-
Email Blocks: Query Loop
Block Settings Layout Query Reference Layout Columns (Default: 2) Select the number of columns Gap (Default: 10px) Adjust the gap between columns Thumbnail Size(Thumbnail, Medium, Large, and any
-
Styling Web Forms
Customizing the appearance of your web form in Groundhogg is simple and flexible. Whether you want a quick, pre-built look or a fully tailored design, the "Web Form" settings offer options to match
-
Register an additional email service
Register an additional SendGrid email service that uses a custom API key when the contact is unconfirmed and the email type is marketing. Add this code to your theme's functions.php file or use a
-
REST API V4 / Contacts
The contacts API allows you to fetch, add, edit, and delete contacts. Contact Properties Attribute Type Description ID integer The system ID of the contact data object The core properties of the
-
Funnel: Filters
Overview Funnel filters in Groundhogg allow you to sort and view the funnel list based on specific data and criteria. After navigating to Groundhogg > Funnels, you’ll see a list of active funnels
-
LearnDash Integration: Introduction
LearnDash is a top-tier LMS plugin that allows you to turn your WordPress website into a learning portal for your customers. With the Groundhogg LearnDash integration, you'll be able to use events in