wpsc_admin_pages

Wpsc_admin_pages function, all the definitons of admin pages are stores here.

Description

wpsc_admin_pages(); 

No parameters, returns nothing

Fairly standard wordpress plugin API stuff for adding the admin pages, rearrange the order to rearrange the pages The bits to display the options page first on first use may be buggy, but tend not to stick around long enough to be identified and fixed if you find bugs, feel free to fix them.

If the permissions are changed here, they will likewise need to be changed for the other sections of the admin that either use ajax or bypass the normal download system.


Usage

  1. if ( !function_exists( 'wpsc_admin_pages' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'wp-ecommerce/wpsc-admin/admin.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wpsc_admin_pages(); 
  7.  

Defined (1)

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

/wpsc-admin/admin.php