gapp_manage_sortable_columns

The Google Analytics Post Pageviews gapp manage sortable columns function.

Description

gapp_manage_sortable_columns( $sortable_columns ); 

Parameters (1)

0. $sortable_columns
The sortable columns.

Usage

  1. if ( !function_exists( 'gapp_manage_sortable_columns' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-analytics-post-pageviews/google-analytics-post-pageviews.php'; 
  3.  
  4. // The sortable columns. 
  5. $sortable_columns = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = gapp_manage_sortable_columns($sortable_columns); 
  9.  

Defined (1)

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

/google-analytics-post-pageviews.php  
  1. function gapp_manage_sortable_columns($sortable_columns) { 
  2.  
  3. $sortable_columns['post_views'] = 'post_views'; 
  4.  
  5. return $sortable_columns; 
  6.