Adding custom end points, No error line

function custom_phrase($request_data)

$request_data was missing.

Fixed it 🙂