public/wordpress/wp-content/plugins/wp-courseware/includes/legacy/setup.php
/**
 * Determine if we're on a page just related to this plugin in the admin area.
 *
 * @since 4.1.0
 *
 * @return boolean True if we're on an admin page, false otherwise.
 */
Determine if we're on a page just related to this plugin in the admin area.

@return boolean True if we're on an admin page, false otherwise.
Determine if we ' re on a page just related to this plugin in the admin area . @return boolean True if we ' re on an admin page false otherwise .
function WPCW_areWeOnPluginPage() {
	if ( $currentPage = WPCW_arrays_getValue( $_GET, 'page' ) ) {
		if ( substr( $currentPage, 0, 5 ) == 'WPCW_' ) {
			return true;
		}
	}
	return false;
}
function WPCW_areWeOnPluginPage ( ) { if ( $ currentPage = WPCW_arrays_getValue ( $ _GET , 'page' ) ) { if ( substr ( $ currentPage , 0 , 5 ) == 'WPCW_' ) { return true ; } } return false ; }
Determine if we're on a page just related to this plugin in the admin area.
Determine if we ' re on a page just related to this plugin in the admin area .