fs_is_plugin_page

The NextGEN Gallery fs is plugin page function.

Description

fs_is_plugin_page( $menu_slug ); 

Parameters (1)

0. $menu_slug
The menu slug.

Usage

  1. if ( !function_exists( 'fs_is_plugin_page' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'nextgen-gallery/freemius/includes/fs-core-functions.php'; 
  3.  
  4. // The menu slug. 
  5. $menu_slug = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = fs_is_plugin_page($menu_slug); 
  9.  

Defined (1)

The function is defined in the following location(s).

/freemius/includes/fs-core-functions.php  
  1. function fs_is_plugin_page( $menu_slug ) { 
  2. return ( is_admin() && $_REQUEST['page'] === $menu_slug );