When using WordPress, I can easily identify pages using
is_single() etc... But, I have built a custom PHP script and included into WordPress using:
define( 'WP_USE_THEMES', false ); require($_SERVER['DOCUMENT_ROOT'].'/wp-load.php'); get_header();
Is there any way to identify what page this is from within
I want to enqueue some scripts ONLY on this page but don't know how to identify when I'm on it.