wpsc_admin_include_css_and_js_refac

Includes the JS and CSS.

Description

wpsc_admin_include_css_and_js_refac( (string) $pagehook ); 

Parameters (1)

0. $pagehook (string)
The pagehook for the currently viewing page, provided by the admin_enqueue_scripts action

Usage

  1. if ( !function_exists( 'wpsc_admin_include_css_and_js_refac' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'wp-ecommerce/wpsc-admin/admin.php'; 
  3.  
  4. // The pagehook for the currently viewing page, provided by the 'admin_enqueue_scripts' action 
  5. $pagehook = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = wpsc_admin_include_css_and_js_refac($pagehook); 
  9.  

Defined (1)

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

/wpsc-admin/admin.php