How to change PID source

I devised Ardupilot’s new attitude control method.
So, I would like to switch existing PID control to new control method
Below image

I refer to the “void AC_PosControl :: update_z_controller ()” function by referring to the following, but there is no trace of PID control being done here

Where is the function under PID control?