Skip to content

Instantly share code, notes, and snippets.

@sushidub
Last active September 12, 2018 05:55
Show Gist options
  • Select an option

  • Save sushidub/32011f4c7a29a534772c0337e93e2a88 to your computer and use it in GitHub Desktop.

Select an option

Save sushidub/32011f4c7a29a534772c0337e93e2a88 to your computer and use it in GitHub Desktop.

Revisions

  1. sushidub renamed this gist Sep 12, 2018. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. sushidub created this gist Sep 12, 2018.
    9 changes: 9 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    helpful wordpress admin globals available via the window object
    ```js
    var adminScreen = {};
    adminScreen.pagenow = window.pagenow;
    adminScreen.adminpage = window.adminpage;
    adminScreen.typenow = window.typenow;

    console.log(adminScreen);
    ```