WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features\Navigation

Screen::get_plugin_page() public WC 1.0

Get the plugin page slug.

{} It's a method of the class: Screen{}

No Hooks.

Return

String. Nothing.

Usage

$result = Screen::get_plugin_page( $callback );
$callback(string) (required)
Callback.

Code of Screen::get_plugin_page() WC 5.3.0

<?php
public static function get_plugin_page( $callback ) {
	$url   = Menu::get_callback_url( $callback );
	$parts = wp_parse_url( $url );

	if ( ! isset( $parts['query'] ) ) {
		return $callback;
	}

	parse_str( $parts['query'], $query );

	if ( ! isset( $query['page'] ) ) {
		return $callback;
	}

	$plugin_page = wp_unslash( $query['page'] );
	$plugin_page = plugin_basename( $plugin_page );
	return $plugin_page;
}