Make WordPress Core


Ignore:
Timestamp:
02/04/2009 04:52:36 PM (16 years ago)
Author:
azaozz
Message:

Add a filter to the post states list, props johnbillion, fixes #9033

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r10493 r10497  
    32403240        $post_states[] = _c('Pending|post state');
    32413241
     3242    $post_states = apply_filters( 'display_post_states', $post_states );
     3243
    32423244    if ( ! empty($post_states) ) {
    32433245        $state_count = count($post_states);
Note: See TracChangeset for help on using the changeset viewer.