Changeset 42875 for trunk/src/wp-admin/includes/template.php
- Timestamp:
- 03/25/2018 06:09:56 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r42827 r42875 30 30 * @param int $descendants_and_self Optional. ID of the category to output along with its descendants. 31 31 * Default 0. 32 * @param array $selected_cats Optional. List of categories to mark as checked. Default false.33 * @param array $popular_cats Optional. List of categories to receive the "popular-category" class.32 * @param int[] $selected_cats Optional. Array of category IDs to mark as checked. Default false. 33 * @param int[] $popular_cats Optional. Array of category IDs to receive the "popular-category" class. 34 34 * Default false. 35 35 * @param object $walker Optional. Walker object to use to build the output. … … 65 65 * @type int $descendants_and_self ID of the category to output along with its descendants. 66 66 * Default 0. 67 * @type array $selected_cats List of categories to mark as checked. Default false.68 * @type array $popular_cats List of categories to receive the "popular-category" class.67 * @type int[] $selected_cats Array of category IDs to mark as checked. Default false. 68 * @type int[] $popular_cats Array of category IDs to receive the "popular-category" class. 69 69 * Default false. 70 70 * @type object $walker Walker object to use to build the output. … … 1898 1898 * @since 3.6.0 Added the `$post` parameter. 1899 1899 * 1900 * @param array$post_states An array of post display states.1901 * @param WP_Post $post The current post object.1900 * @param string[] $post_states An array of post display states. 1901 * @param WP_Post $post The current post object. 1902 1902 */ 1903 1903 $post_states = apply_filters( 'display_post_states', $post_states, $post ); … … 1974 1974 * @since 4.8.0 Added the `$post` parameter. 1975 1975 * 1976 * @param array$media_states An array of media states. Default 'Header Image',1977 * 'Background Image', 'Site Icon', 'Logo'.1978 * @param WP_Post $post The current attachment object.1976 * @param string[] $media_states An array of media states. Default 'Header Image', 1977 * 'Background Image', 'Site Icon', 'Logo'. 1978 * @param WP_Post $post The current attachment object. 1979 1979 */ 1980 1980 $media_states = apply_filters( 'display_media_states', $media_states, $post );
Note: See TracChangeset
for help on using the changeset viewer.