Configure Custom Hooks in your 10000ft | The Humane Club Made with Humane Club
Hi 👋 I'm Dhara, the founder of Humane Club. We are now selectively onboarding.
Software & training to maintain your web presence
Humane replaces workarounds, messy plugins, and daily frustrations with built-in workflows, effortless organization, and clever features that levels-up WordPress in meaningful ways. Also, get insights on how to write copy and run your site.
Start a conversation
Contact Us
Start a conversation
Humane replaces workarounds, messy plugins, and daily frustrations with built-in workflows, effortless organization, and clever features that levels-up WordPress in meaningful ways. Also, get insights on how to write copy and run your site.

Configure Custom Hooks in your 10000ft

Published Nov 10, 2020
Updated Mar 25, 2021

Quick summary

  • Who can do it? Humane Club Administrators
  • How to reach it? Assets > 10000ft Visualizations > Custom Hooks

What, Why

There might be scenarios where you need to write custom Javascript code. This is where custom hooks become handy without touching the core code files.


How

Related Mapping Hook: Function to convert a column name to a related column name, using string replacement usually, following a pattern. For eg. {column_name}_percentile -> {column_name}_value.

Weight Mapping Hook: is a function to convert a column name to a weight column name, using string replacement usually, following a pattern. This is used to calculate a weighted value using the assigned weights. For eg. {column_name}_percentile -> {column_name}_score

Weights Transform Function: is used to calculate the final weighted value using the weight mapping column and the assigned weight for each data point.

Default Sort Column Function: decides the default sort column, usually used for sorting after changing parameters.

By
Published
Updated