Changeset 42876 for trunk/src/wp-includes/post.php
- Timestamp:
- 03/25/2018 07:32:24 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r42769 r42876 1044 1044 * element from the array needs to match; 'and' means all elements 1045 1045 * must match; 'not' means no elements may match. Default 'and'. 1046 * @return array A listof post type names or objects.1046 * @return string[]|WP_Post_Type[] An array of post type names or objects. 1047 1047 */ 1048 1048 function get_post_types( $args = array(), $output = 'names', $operator = 'and' ) { … … 4342 4342 * 4343 4343 * @param int|WP_Post $post_id Post ID or object. 4344 * @return array4344 * @return bool|string[] Array of URLs already pinged for the given post, false if the post is not found. 4345 4345 */ 4346 4346 function get_pung( $post_id ) { … … 4358 4358 * @since 2.0.0 4359 4359 * 4360 * @param array$pung Array of URLs already pinged for the given post.4360 * @param string[] $pung Array of URLs already pinged for the given post. 4361 4361 */ 4362 4362 return apply_filters( 'get_pung', $pung );
Note: See TracChangeset
for help on using the changeset viewer.