Skip to content

Instantly share code, notes, and snippets.

@ryanhellyer
Created October 21, 2012 12:42
Show Gist options
  • Select an option

  • Save ryanhellyer/3926869 to your computer and use it in GitHub Desktop.

Select an option

Save ryanhellyer/3926869 to your computer and use it in GitHub Desktop.

Revisions

  1. ryanhellyer created this gist Oct 21, 2012.
    3 changes: 3 additions & 0 deletions check_admin_referer example
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    <?php
    check_admin_referer( 'random_nonce_name' );
    ?>