Testing if [__CLASS__, 'get_products'] is callable. If NO, PHP cannot call the method (maybe method doesn't exist or wrong visibility). If YES but still not called, WordPress routing issue.
Testing if [__CLASS__, 'get_products'] is callable. If NO, PHP cannot call the method (maybe method doesn't exist or wrong visibility). If YES but still not called, WordPress routing issue.