Make WordPress Core

Ticket #26869: screenid.diff

File screenid.diff, 550 bytes (added by Otto42, 10 years ago)

manage_{$screen->id}_columns

  • wp-admin/includes/screen.php

     
    3434                 *
    3535                 * @param array $columns An array of column headers. Default empty.
    3636                 */
    37                 $column_headers[ $screen->id ] = apply_filters( 'manage_' . $screen->id . '_columns', array() );
     37                $column_headers[ $screen->id ] = apply_filters( "manage_{$screen->id}_columns", array() );
    3838        }
    3939
    4040        return $column_headers[ $screen->id ];