Reply to thread

I disagree.


$media is an array of media items.


The 'canApproveMediaData()' function takes an array of media items.

The 'canApproveMedia()' function takes an array which is a single media item.


Therefore 'canApproveMediaData()' is the appropriate function to call here.


Back
Top Bottom