I have a wordpress plugin that is interfering with the function of another plugin. But, I believe the interference only occurs on the admin side.
I've found the lines within the code that are interfering, and they appear to be loading html code on the header and footer of ALL admin pages.
I would like to restrict these lines of code so that they only display on the post/page edit pages of the admin.
Not exactly sure how to do that. I know I'll need some sort of conditional statement, but not sure EXACTLY how the code should read or what the best condition would be to use.
Any help would be greatly appreciated.
$current_screen
global variable which you can use to find what's the current admin page