admit_status

Description

Filters the admit status dropdown option.

Example

One parameter is passed when called: current admit status pulled from database.

$app = \Liten\Liten::getInstance();

function custom_admit_status_select($select, $status) {
    // Do code manipulation here.
}
$app->hook->add_filter( 'admit_status', 'custom_admit_status_select', 10, 2 );

Change Log

Since 1.0.0

Source File

admit_status hook is located in app/src/functions/hook-function.php.

See Also

admit_status_select()