Hooks and Filters Documentation for ComfortResume & ComfortResumePro
ComfortResume Plugin
Action Hooks
comfortresume_resume_delete_after- Triggered after a resume is deleted.
- Parameters:
$resume_id(int): The ID of the deleted resume.
- Example:
comfortresume_resume_created- Triggered when a resume is created.
- Parameters:
$resume(object): The resume object.$queryParams(array): Request query params received in api.$source(string): From where the api is called(frontent/backend).
- Example:
comfortresume_before_vuejs_mount_after- Triggered before Vue.js components are mounted.
- Example:
comfortresume_sidebar_archive- Triggered to add content to the sidebar in the resume archive.
- Example:
comfortresume_after_main_content- Triggered after the main content of the resume archive.
- Example:
Filter Hooks
comfortresume_archive_title- Filters the title of the resume archive.
- Parameters:
$title(string): The archive title.
- Example:
comfortresume_allowed_html_tags- Filters the allowed HTML tags for the plugin.
- Parameters:
$tags(array): Allowed HTML tags.
- Example:
comfortresume_resume_js_translation- Filters the JavaScript translations for the plugin.
- Parameters:
$translations(array): Translations for JavaScript.
- Example:
comfortresume_setting_js_vars- Filters the JavaScript variables used in settings.
- Parameters:
$vars(array): JavaScript variables.
- Example:
comfortresume_resume_listing_params- Filters the parameters for resume listings.
- Parameters:
$params(array): Listing parameters.
- Example:
ComfortResumePro Plugin
Action Hooks
comfortresume_resume_published- Triggered when a resume is published.
- Parameters:
$resume_id(int): The ID of the published resume.$status(string): The status of the resume.$user_id(int): The ID of the user who published the resume.$data(array): Additional data.
- Example:
bp_activity_register_activity_actions- Registers BuddyPress activity actions for resumes.
- Example:
comfortresume_archive_loop_item_actions_end- Triggered at the end of each archive loop item.
- Parameters:
$resume_id(int): The ID of the resume.
- Example:
Filter Hooks
comfortresume_max_resume_per_user- Filters the maximum number of resumes a user can create.
- Parameters:
$max(int): Maximum number of resumes.$user_id(int): The ID of the user.
- Example:
comfortresume_resume_export_types- Filters the available export types for resumes.
- Parameters:
$types(array): Export types.
- Example:
comfortresume_front_listing_filters- Filters the front-end listing filters for resumes.
- Parameters:
$filters(array): Listing filters.
- Example:
comfortresume_global_comfortresume_front_dashboard_fields- Filters the fields displayed in the front-end dashboard.
- Parameters:
$fields(array): Dashboard fields.
- Example:
comfortresume_email_classes- Filters the email classes used by the plugin.
- Parameters:
$classes(array): Email classes.
- Example:
This documentation provides an overview of the available hooks and filters in the ComfortResume and ComfortResumePro plugins. Use these to extend or customize the functionality as needed.
