Fires during the saving/creating of an person record.
<?php $app->hook->add_action( 'save_person_db_table', 'function_name' ); ?>
$nae: (object) (required) Person object.
$app = \Liten\Liten::getInstance(); function save_nae_field($nae) { $nae->custom_field = $_POST['custom_field']; } $app->hook->add_action('save_person_db_table', 'save_nae_field', 10, 1);
The save_person_db_table hook is useful for intercepting posted data or for custom fields.
Since 6.1.10
save_person_db_table hook is located in app/routers/person.router.php.