Support » Developing with WordPress » Check Admin Page Id

  • jruescher

    (@jruescher)



    hi,

    i got a problem with one of my own plugins.
    I would like to run a specific code part just for one admin backend page.

    Is there a better way, then trying something like this?:

    if( isset($_GET['post']) && $_GET['post'] == '7' ){ .. }

    Im not very comfortable with that, sorry if this “try” is terrible 😀

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Check Admin Page Id’ is closed to new replies.