• Constellation Client Portal Hooks – Actions

    Constellation Client Portal Hooks

    Actions

    File and Invoice List Hooks

    Action: ‘accp_before_file_list’

    Parameters: $post_id Integer – the post ID of the page, on which, the accp_clientfiles shortcode is embedded.

    Description: This action allows content to be added before client file lists that are displayed on the front-end via the accp_clientfiles shortcode.

    Action: ‘accp_after_file_list’

    Parameters: $post_id Integer – the post ID of the page, on which, the accp_clientfiles shortcode is embedded.

    Description: This action allows content to be added after client file lists (before pagination links if enabled) that are displayed on the front-end via the accp_clientfiles shortcode.

    Action: ‘accp_before_invoice_list’

    Parameters: $post_id Integer – the post ID of the page, on which, the accp_clientinvoices shortcode is embedded.

    Description: This action allows content to be added before client invoice lists that are displayed on the front-end via the accp_clientinvoices shortcode.

    Action: ‘accp_after_invoice_list’

    Parameters: $post_id Integer – the post ID of the page, on which, the accp_clientinvoices shortcode is embedded.

    Description: This action allows content to be added after client invoice lists (before pagination links if enabled) that are displayed on the front-end via the accp_clientinvoices shortcode.

    Action: ‘accp_after_file_list_pagination’

    Parameters: $post_id Integer – the post ID of the page, on which, the accp_clientfiles shortcode is embedded.

    Description: This action allows content to be added after client file lists (after pagination links if enabled) that are displayed on the front-end via the accp_clientfiles shortcode.

    Action: ‘accp_after_invoice_list_pagination’

    Parameters: $post_id Integer – the post ID of the page, on which, the accp_clientinvoices shortcode is embedded.

    Description: This action allows content to be added after client invoice lists (after pagination links if enabled) that are displayed on the front-end via the accp_clientinvoices shortcode.

    Action: ‘accp_before_file_list_item’

    Parameters: $item_id Integer – the post ID of the item/post in the list loop.

    Description: This action allows content to be added before each item (before the item container) in client file lists that are displayed on the front-end via the accp_clientfiles shortcode.

    Action: ‘accp_after_file_list_item’

    Parameters: $item_id Integer – the post ID of the item/post in the list loop.

    Description: This action allows content to be added after each item (after the item container) in client file lists that are displayed on the front-end via the accp_clientfiles shortcode.

    Action: ‘accp_before_invoice_list_item’

    Parameters: $item_id Integer – the post ID of the item/post in the list loop.

    Description: This action allows content to be added before each item (before the item container) in client invoice lists that are displayed on the front-end via the accp_clientinvoices shortcode.

    Action: ‘accp_after_invoice_list_item’

    Parameters: $item_id Integer – the post ID of the item/post in the list loop.

    Description: This action allows content to be added after each item (after the item container) in client invoice lists that are displayed on the front-end via the accp_clientinvoices shortcode.

    Action: ‘accp_file_list_item_top_inside’

    Parameters: $item_id Integer – the post ID of the item/post in the list loop.

    Description: This action allows content to be added to the top of each item (within the item container) in client file lists that are displayed on the front-end via the accp_clientfiles shortcode.

    Action: ‘accp_file_list_item_bottom_inside’

    Parameters: $item_id Integer – the post ID of the item/post in the list loop.

    Description: This action allows content to be added to the bottom of each item (within the item container) in client file lists that are displayed on the front-end via the accp_clientfiles shortcode.

    Action: ‘accp_invoice_list_item_top_inside’

    Parameters: $item_id Integer – the post ID of the item/post in the list loop.

    Description: This action allows content to be added to the top of each item (within the item container) in client invoice lists that are displayed on the front-end via the accp_clientinvoices shortcode.

    Action: ‘accp_invoice_list_item_bottom_inside’

    Parameters: $item_id Integer – the post ID of the item/post in the list loop.

    Description: This action allows content to be added to the bottom of each item (within the item container) in client invoice lists that are displayed on the front-end via the accp_clientinvoices shortcode.

    Email Template Hooks

    Action: ‘accp_before_client_new_file_email_msg’

    Parameters: $post_id Integer – the post ID of the corresponding client file.

    $email_format String – the email format (either ‘plain’ or ‘html’).

    $email_msg String – the email message.

    Description: This action allows content to be added before the email message for emails that are triggered when a new client file post is created.

    Action: ‘accp_after_client_new_file_email_msg’

    Parameters: $post_id Integer – the post ID of the corresponding client file.

    $email_format String – the email format (either ‘plain’ or ‘html’).

    $email_msg String – the email message.

    Description: This action allows content to be added after the email message for emails that are triggered when a new client file post is created.

    Action: ‘accp_before_client_new_invoice_email_msg’

    Parameters: $post_id Integer – the post ID of the corresponding client invoice.

    $email_format String – the email format (either ‘plain’ or ‘html’).

    $email_msg String – the email message.

    Description: This action allows content to be added before the email message for emails that are triggered when a new client invoice post is created.

    Action: ‘accp_after_client_new_invoice_email_msg’

    Parameters: $post_id Integer – the post ID of the corresponding client invoice.

    $email_format String – the email format (either ‘plain’ or ‘html’).

    $email_msg String – the email message.

    Description: This action allows content to be added after the email message for emails that are triggered when a new client invoice post is created.

    Action: ‘accp_before_client_reminder_file_email_msg’

    Parameters: $post_id Integer – the post ID of the corresponding client file.

    $email_format String – the email format (either ‘plain’ or ‘html’).

    $email_msg String – the email message.

    Description: This action allows content to be added before the email message for emails that are triggered when a client file reminder email is generated.

    Action: ‘accp_after_client_reminder_file_email_msg’

    Parameters: $post_id Integer – the post ID of the corresponding client file.

    $email_format String – the email format (either ‘plain’ or ‘html’).

    $email_msg String – the email message.

    Description: This action allows content to be added after the email message for emails that are triggered when a client file reminder email is generated.

    Action: ‘accp_before_client_reminder_invoice_email_msg’

    Parameters: $post_id Integer – the post ID of the corresponding client file.

    $email_format String – the email format (either ‘plain’ or ‘html’).

    $email_msg String – the email message.

    Description: This action allows content to be added before the email message for emails that are triggered when a client invoice reminder email is generated.

    Action: ‘accp_after_client_reminder_invoice_email_msg’

    Parameters: $post_id Integer – the post ID of the corresponding client file.

    $email_format String – the email format (either ‘plain’ or ‘html’).

    $email_msg String – the email message.

    Description: This action allows content to be added after the email message for emails that are triggered when a client invoice reminder email is generated.

    Invoice Pay Button Hooks

    Action: ‘accp_before_single_pay_button’

    Parameters: $post_id Integer – the post ID of the invoice post within the invoice list/loop.

    Parameters: $product_id Integer – the ID of the product that is saved to the invoice post (if one is saved).

    Description: This action allows content to be added before single pay buttons in invoice lists on the front-end.

    Action: ‘accp_after_single_pay_button’

    Parameters: $post_id Integer – the post ID of the invoice post within the invoice list/loop.

    Parameters: $product_id Integer – the ID of the product that is saved to the invoice post (if one is saved).

    Description: This action allows content to be added after single pay buttons in invoice lists on the front-end.

    Action: ‘accp_before_pay_all_button’

    Parameters: $invoice_id_list Array – List of invoice post ID’s to be paid.

    Description: This action allows content to be added before pay-all buttons in invoice lists on the front-end.

    Action: ‘accp_after_pay_all_button’

    Parameters: $invoice_id_list Array – List of invoice post ID’s to be paid.

    Description: This action allows content to be added after pay-all buttons in invoice lists on the front-end.