Esempio n. 1
0
/**
 * wpsc_core_load_page_titles()
 *
 * Load the WPEC page titles
 *
 * @global array $wpsc_page_titles
 */
function wpsc_core_load_page_titles()
{
    global $wpsc_page_titles;
    $wpsc_page_titles = apply_filters('wpsc_page_titles', false);
    if (empty($wpsc_page_titles)) {
        $wpsc_page_titles = wpsc_get_page_post_names();
    }
}
Esempio n. 2
0
/**
 * wpsc_core_load_page_titles()
 *
 * Load the WPEC page titles
 *
 * @global array $wpsc_page_titles
 */
function wpsc_core_load_page_titles()
{
    global $wpsc_page_titles;
    $wpsc_page_titles = wpsc_get_page_post_names();
}