Make WordPress Core


Ignore:
Timestamp:
03/24/2014 01:48:40 AM (11 years ago)
Author:
DrewAPicture
Message:

Inline documentation for hooks in wp-admin/includes/post.php.

Also moves the primary PHPDoc for the edit_posts_per_page hook to wp-admin/includes/post.php.

Props kpdesign for some cleanup.
Fixes #27431.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r27548 r27667  
    9191        $per_page = $this->get_items_per_page( 'edit_' . $post_type . '_per_page' );
    9292
    93         /**
    94          * Filter the number of posts displayed per page on the Posts list table.
    95          *
    96          * @since 2.8.0
    97          *
    98          * @param int    $per_page  Number of posts to be displayed. Default 20.
    99          * @param string $post_type The post type.
    100          */
     93        /** This filter is documented in wp-admin/includes/post.php */
    10194        $per_page = apply_filters( 'edit_posts_per_page', $per_page, $post_type );
    10295
Note: See TracChangeset for help on using the changeset viewer.