New Paste

 

Recent Pastes

Administrate




PageLines PasteBin.

PasteID: 1s9
Pasted by Evan, 2013-03-13 17:02:41 GMT
Expires Never
Paste size 306 b
Toggle Expand   Wrap   Raw
Copy Contents   Copy URL
 
  1. function register_columns(){
  2.  
  3. 	add_filter("manage_edit-{$this->id}_columns", array(&$this, 'set_columns'));
  4.  
  5. 	//add_action('manage_posts_custom_column',  array(&$this, 'set_column_values'));
  6.  
  7. 	add_action("manage_{$this->id}_posts_custom_column",  array(&$this, 'set_column_values'));
  8.  
  9. }
 
 
 

 
 
 
 
 
Written by Xan Manning, 2010.
YOU NEED FLASH!