I have a matrix field that has a Supertable matrix within it.
I need to programatically get the ID of the field that is nested in the Matrix.
I have the code below:
$matrixField = Craft::$app->getFields()->getFieldByHandle('myMatrixFieldHandle');
Which gets me my Matrix field element, but I can't figure out how to get the fields that are within that Matrix field and thus the ID of the field within the Matrix field.
Any help appreciated!