Changeset 51298 for trunk/src/wp-includes/post.php
- Timestamp:
- 07/01/2021 09:01:17 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r51018 r51298 1234 1234 * from the array needs to match; 'and' means all elements must match. 1235 1235 * Default 'and'. 1236 * @return arrayA list of post status names or objects.1236 * @return string[]|stdClass[] A list of post status names or objects. 1237 1237 */ 1238 1238 function get_post_stati( $args = array(), $output = 'names', $operator = 'and' ) { … … 1428 1428 * 'dashicons-chart-pie'. Pass 'none' to leave div.wp-menu-image empty 1429 1429 * so an icon can be added via CSS. Defaults to use the posts icon. 1430 * @type string 1430 * @type string|array $capability_type The string to use to build the read, edit, and delete capabilities. 1431 1431 * May be passed as an array to allow for alternative plurals when using 1432 1432 * this argument as a base to construct the capabilities, e.g. … … 3795 3795 * @type string $post_date_gmt The date of the post in the GMT timezone. Default is 3796 3796 * the value of `$post_date`. 3797 * @type mixed$post_content The post content. Default empty.3797 * @type string $post_content The post content. Default empty. 3798 3798 * @type string $post_content_filtered The filtered post content. Default empty. 3799 3799 * @type string $post_title The post title. Default empty.
Note: See TracChangeset
for help on using the changeset viewer.