• Constellation Client Portal Hooks – Actions

    Constellation Client Portal Hooks

    Actions

    File, Invoice, and Global File 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_before_global_file_list’

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

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

    Action: ‘accp_after_global_file_list’

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

    Description: This action allows content to be added after global file lists (before pagination links if enabled) that are displayed on the front-end via the accp_global_files 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_after_global_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 global file lists (after pagination links if enabled) that are displayed on the front-end via the accp_global_files 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_before_global_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 global file lists that are displayed on the front-end via the accp_global_files shortcode.

    Action: ‘accp_after_global_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 global file lists that are displayed on the front-end via the accp_global_files 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.

    Action: ‘accp_global_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 global file lists that are displayed on the front-end via the accp_global_files shortcode.

    Action: ‘accp_global_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 global file lists that are displayed on the front-end via the accp_global_files 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.

    Action: ‘accp_before_client_scheduled_w_duedate_before_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 files with a due date that are automatically sent before the due date via cron.

    Action: ‘accp_after_client_scheduled_w_duedate_before_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 files with a due date that are automatically sent before the due date via cron.

    Action: ‘accp_before_client_scheduled_w_duedate_after_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 files with a due date that are automatically sent after the due date via cron.

    Action: ‘accp_after_client_scheduled_w_duedate_after_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 files with a due date that are automatically sent after the due date via cron.

    Action: ‘accp_before_client_scheduled_w_duedate_before_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 invoices with a due date that are automatically sent before the due date via cron.

    Action: ‘accp_after_client_scheduled_w_duedate_before_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 invoices with a due date that are automatically sent before the due date via cron.

    Action: ‘accp_before_client_scheduled_w_duedate_after_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 invoices with a due date that are automatically sent after the due date via cron.

    Action: ‘accp_after_client_scheduled_w_duedate_after_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 invoices with a due date that are automatically sent after the due date via cron.

    Action: ‘accp_before_client_scheduled_no_duedate_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 files without a due date that are automatically sent via cron.

    Action: ‘accp_after_client_scheduled_no_duedate_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 files without a due date that are automatically sent via cron.

    Action: ‘accp_before_client_scheduled_no_duedate_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 invoices without a due date that are automatically sent via cron.

    Action: ‘accp_after_client_scheduled_no_duedate_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 invoices without a due date that are automatically sent via cron.

    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.

    ARS