Nonce for Trashing Item August 16, 2022 by Tarik Billa I found the answer – this contains sample code which helped me resolve the issue. https://codex.wordpress.org/WordPress_Nonces