Make WordPress Core


Ignore:
Timestamp:
12/09/2015 04:16:07 PM (11 years ago)
Author:
DrewAPicture
Message:

Docs: Move the hook doc for the view_mode_post_types filter to directly precede the apply_filters() line.

See #32246.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-screen.php

    r35461 r35844  
    12021202                }
    12031203
     1204                $view_mode_post_types = get_post_types( array( 'hierarchical' => false, 'show_ui' => true ) );
     1205
    12041206                /**
    12051207                 * Filter the post types that have different view mode options.
    … …  
    12101212                 *                                    Default hierarchical post types with show_ui on.
    12111213                 */
    1212                 $view_mode_post_types = get_post_types( array( 'hierarchical' => false, 'show_ui' => true ) );
    12131214                $view_mode_post_types = apply_filters( 'view_mode_post_types', $view_mode_post_types );
    12141215
Note: See TracChangeset for help on using the changeset viewer.