Thank you, all, especially Joy for the expanded set of circumstances.
Indeed, the parent had if’s wrapping the functions and did not use “uri”.
I had the structure replicated, but now tried deleting everything in the .php file except the function of interest, which was modified. I removed the wrapped “if”.
It seems to be working!