Changeset 2533420
- Timestamp:
- 05/18/2021 07:07:10 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fpw-category-thumbnails/tags/1.9.2/classes/fpw-category-thumbnails-class.php
r2513690 r2533420 69 69 add_theme_support( 'post-thumbnails' ); 70 70 } 71 71 72 72 // set heading for custom column 'Thumbnail' - Categories admin screen 73 73 function fpw_category_columns_head( $defaults ) { 74 $defaults[ ' thumbnail_column' ] = __( 'Thumbnail', 'fpw-category-thumbnails' );74 $defaults[ 'fpw_thumbnail_column' ] = __( 'Thumbnail', 'fpw-category-thumbnails' ); 75 75 return $defaults; 76 76 } … … 78 78 // show value of custom column 'Thumbnail' - Categories admin screen 79 79 function fpw_custom_category_column_content( $data, $column, $id ) { 80 if ( $column == ' thumbnail_column' ) {80 if ( $column == 'fpw_thumbnail_column' ) { 81 81 $map = get_option( 'fpw_category_thumb_map' ); 82 82 if ( !is_array( $map ) )
Note: See TracChangeset
for help on using the changeset viewer.